Unicode strings: Difference between revisions
Content deleted Content added
m {{out}} |
Nimrod -> Nim |
||
Line 799: | Line 799: | ||
How broad/deep does the language support Unicode? What encodings (e.g. UTF-8, UTF-16, etc) can be used? Normalization? '''Using the standard .NET libraries, there is a lot of support for unicode string manipulation. For example, normalization is accomplished by simply calling the Normalize() method on a string.''' |
How broad/deep does the language support Unicode? What encodings (e.g. UTF-8, UTF-16, etc) can be used? Normalization? '''Using the standard .NET libraries, there is a lot of support for unicode string manipulation. For example, normalization is accomplished by simply calling the Normalize() method on a string.''' |
||
=={{header| |
=={{header|Nim}}== |
||
Strings are assumed to be UTF-8 in |
Strings are assumed to be UTF-8 in Nim. |
||
<lang |
<lang nim>let c = "abcdé" |
||
let Δ = 12 |
let Δ = 12 |
||
let e = "$abcde¢£¤¥©ÇßçIJijŁłʒλπ•₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₵←→⇒∙⌘☺☻ア字文𪚥" |
let e = "$abcde¢£¤¥©ÇßçIJijŁłʒλπ•₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₵←→⇒∙⌘☺☻ア字文𪚥" |