Re: Keeping byte-wise processing as an option

2004-01-03 Thread Guido Flohr
Martin Duerst wrote: in 5.6 and 5.8, but _in_principle_ the bytes pragma should tell Perl in both 5.6 and 5.8 that "I want bytes, darn it." But you still get into problem when you pass UTF-8 flagged variables to legacy modules without the pragma. Yes, that seems to do the job. But is this availab

Re: Keeping byte-wise processing as an option

2004-01-03 Thread Jarkko Hietaniemi
5.00503, 5.6.x and 5.8.x. I don't think that the tricks you need to program around the Unicode cliffs through perl versions are collected in a document. I think now that people have had time to "Unicodify" their applications with 5.8.x, starting to collect the tricks required and found useful woul

Re: Keeping byte-wise processing as an option

2004-01-03 Thread Jarkko Hietaniemi
If it were just me, that would be easy. But stating on an FAQ page 'use Perl 5.8.1 or later' for something that worked probably even in Perl 4 doesn't look like a good idea. Perl 4? And here I was being afraid that getting 5.6 to work right would be tricky... :-) I think we need to define "work"

Re: Keeping byte-wise processing as an option

2004-01-02 Thread Daisuke Maki
> if (eval "use bytes;") { use bytes; } That would be use if $] >= 5.006, "bytes"; But you would have to make sure that if.pm is available, no option IMO. I think the was used in AxKit by the Matt/axkit-dev folks was to put this line $INC{ "bytes.pm" }++ if $] < 5.006; before any menti

Re: Keeping byte-wise processing as an option

2004-01-02 Thread Andreas J Koenig
> On Fri, 02 Jan 2004 18:17:13 -0500, Martin Duerst <[EMAIL PROTECTED]> said: >>> Jungshik has also reported that >>> it fails with Perl 5.8.0 with an UTF-8 locale. >> >> Perl 5.8.0 was very broken with UTF-8 locales since it "auto-PERL_UNICODEd". >> We saw (keep seeing) a lot of that si

Re: Keeping byte-wise processing as an option

2004-01-02 Thread Martin Duerst
Hello Jarkko, Many thanks for your very quick answer. At 00:31 04/01/03 +0200, Jarkko Hietaniemi wrote: "In future, Perl-level operations will be expected to work with characters rather than bytes." I very much appreciate all your hard work on the internationalization of Perl. However, recentl

Re: Keeping byte-wise processing as an option

2004-01-02 Thread Jarkko Hietaniemi
"In future, Perl-level operations will be expected to work with characters rather than bytes." I very much appreciate all your hard work on the internationalization of Perl. However, recently I have been working on some things that let me think that the above statement, if taken directly, may be

Keeping byte-wise processing as an option

2004-01-02 Thread Martin Duerst
Dear Perl Unicode experts, http://www.perldoc.com/perl5.8.0/pod/perlunicode.html says: "In future, Perl-level operations will be expected to work with characters rather than bytes." I very much appreciate all your hard work on the internationalization of Perl. However, recently I have been work