Jump to content

Unicode strings: Difference between revisions

No edit summary
Line 870:
 
=={{header|Perl 6}}==
Perl 6 programs and strings are all in Unicode, specced (but not yet entirely implemented) toand operate at a grapheme abstraction level, which is agnostic to underlying encodings or normalizations. (These are generally handled at program boundaries.) Opened files default to UTF-8 encoding. All Unicode character properties are in play, so any appropriate characters may be used as parts of identifiers, whitespace, or user-defined operators. For instance:
 
<lang perl6>sub prefix:<∛> (\𝐕) { 𝐕 ** (1/3) }
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.