Dnia 26-03-2007, pon o godzinie 17:28 -0400, SrinTuar
napisał(a):

> I frequenty run into problems with utf-8 in perl,

Last time I checked, Unicode support in Perl was not well thought out.

The major source of problems is that chr($n) is ambiguous between
character $n in the current locale (i.e. byte $n in the default locale
encoding) and character $n in Unicode. It depends on pragmas in effect
and implicit assumptions of particular packages.

Python OTOH clearly distinguishes one from the other, which is better.

-- 
   __("<         Marcin Kowalczyk
   \__/       [EMAIL PROTECTED]
    ^^     http://qrnik.knm.org.pl/~qrczak/


--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to