Front page | perl.perl5.porters |
Postings from April 2012
Re: unicode question
Thread Previous
|
Thread Next
From:
Eric Brine
Date:
April 25, 2012 21:47
Subject:
Re: unicode question
Message ID:
CALJW-qHsVZViwLKncxqzzVa--vQMoKgjrnLgLibaurakEX3HNg@mail.gmail.com
On Wed, Apr 25, 2012 at 11:50 PM, Brian Fraser <fraserbn@gmail.com> wrote:
>
> On Wed, Apr 25, 2012 at 10:12 PM, Linda W <perl-diddler@tlinx.org> wrote:
>
>> Then the statement in paragraph 1 about perl having fundamental assymetric
>> problems, no longer applies?
>>
>
> In 5.14+ under unicode_strings, that's mostly right. It's all mostly
> treated as UTF-8, syscalls aside. See "The Unicode Bug" and "When Unicode
> Does not Happen"
>
No, the asymmetry is still 100% there. If you pass bytes to an op which
expects characters, the bytes will effectively be treated as iso-8859-1. If
you pass non-bytes to print, they will be encoded using utf8.
Thread Previous
|
Thread Next