perl-i18n

Re: UTF-8 support on Windows and Linux

2002-04-26 06:33:54
I don't believe I have experienced this.. care to send a (minimal)
script to duplicate this? 

Cheers,
Kevin

On Fri, Apr 26, 2002 at 02:22:56PM +0200, Gregor Chrupala 
(gregor(_dot_)chrupala(_at_)star-group(_dot_)net) said something similar to:
Hi All,

I am using perl5.6.1 both on Windows 2000 and Mandrake Linux 8.1.
On Windows the UTF-8 strings are handled in a reasonable manner, that is
length() returns the number of characters and /./ matches a single
character. On Linux though, length seems to return the byte length of the
string, and /./ fails to match characters over 127. This happens even if I
use a UTF-8 locale.
How come?
What can I do about it? Is anybody experiencing similar problems on Linux?

Gregor

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
I keep looking for the "Crash after viewing X pages" settings in Netscape, but
I just can't find it.
        -- me

<Prev in Thread] Current Thread [Next in Thread>