Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^2: text encodings and perl

by Anonymous Monk
on Nov 13, 2010 at 09:57 UTC ( #871224=note: print w/ replies, xml ) Need Help??

in reply to Re: text encodings and perl
in thread text encodings and perl

it actually is important that the "internal form" is (very much like) utf8 unicode.
I'm not sure I can follow your arguments. Which of those desirable properties wouldn't be possible if Perl had a different internal unicode string representation? Other languages like Java or Python have chosen different internal representations, yet they are perfectly capable of doing regex matches or parsing string literals (analogous to "\x{abcd}" in Perl) into their internal form.

It's just a matter of how things are implemented. Of course, different implementations have different pros and cons with respect to performance (speed/memory) or ease of implementation, but I don't see why utf8 would be required as the internal form to realize the properties you mentioned.

Comment on Re^2: text encodings and perl
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871224]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-11-25 12:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (674 votes), past polls