From: Boris Z. <bo...@am...> - 2003-10-13 09:20:05
|
HI Rob, Am Montag, 13. Oktober 2003 10:21 schrieb Rob Starkey: > Way old post, I know. But what needs to be patched for PK to run with 5.8? > I'm running the CVS version with 5.8.1 and mod_perl 1.28 without problems. > It runs without problems, but if you use some non US-ASCII chars in your application the fun begins. From perl 5.6.1 on perl starts to convert parts of the strings internal to unicode. If we process the string again it is not unicode it is unicode unicode ( double converted ) so you get suspicious chars. For all this convertsions we use workarounds in PageKit so it works. Now perl 5.8.1 do a lot more of this conversion fortunely a lot better. But in this case we can not use Text::Iconv anymore since Text::Iconv ignores perls internal state. The solution was to use Encode. But unfortunely Encode is only part of perl 5.8. In short: - A::P with perl 5.6.x works out of the box - A::P with perl 5.8.x works but for non US-ASCII chars I recommend the applied patch. For the new version of A::P the patch should be applied automatic in case your machine has perl 5.8.x installed. the patch should only applied to perl >= 5.8.x and pagekit <= 1.11. Have a nice day. > Rob > > > > ----- Original Message ----- > From: "Boris Zentner" <bo...@am...> > To: <pag...@li...> > Sent: Wednesday, August 27, 2003 12:44 AM > Subject: [Pagekit-users] RFC: Installation of PageKit > > > Hi, > > > > The installation of Apache::PageKit seems like the hardest part. This > > should > > > change now. > > > > Here is the new plan: > > > > - The default Apache::Pagekit runs on perl < 5.8 as before. If the > > machine where we like to install on has perl >= 5.8 patch A::P up to run > > with > > that. > > > This change needs the patch command in your path for perl >= 5.8. > > > > - Drop Apache::test and use Apache::Test since Apache::test is not > > supported > > > in newer mod_perl's ( > 1.27 ) Apache::Test is included in mod_perl 2 and > > for > > > users of mod_perl < 2 on CPAN. > > > > Other options are: > > - drop make test entirely. > > - bundle Apache::test with A::P > > > > what do you like best? > > > > -- > > Boris -- Boris |