Unicode strings: Difference between revisions

(→‎{{header|Perl}}: add Perl 6)
Line 54:
 
However, when your program interacts with the environment, you may still run into tricky spots if you have imcompatible locale settings or your OS is not using unicode; that's not what Perl has control over, unfortunately.
=={{header|Perl 6}}==
Perl 6 programs and strings are all in Unicode, specced (but not yet entirely implemented) to operate at a grapheme abstraction level, which is agnostic to underlying encodings or normalizations. (These are generally handled at program boundaries.) Non-Unicode strings are represented as Buf types rather than Str types, and Unicode operations may not be applied to Buf types without some kind of explicit conversion. Only ASCIIish operations are allowed on buffers.
 
As things develop, Perl 6 intends to support Unicode even better than Perl 5, which already does a great job in recent versions.
 
=={{header|PicoLisp}}==
Anonymous user