Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871224]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2018-03-22 14:46 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (277 votes). Check out past polls.