Unicode Support in Various Programming Languages

后端 未结 20 1987
醉话见心
醉话见心 2020-12-13 13:31

I\'d like to have a canonical place to pool information about Unicode support in various languages. Is it a part of the core language? Is it provided in libraries? Is it not

20条回答
  •  庸人自扰
    2020-12-13 14:19

    Java

    Same as with .NET, Java uses UTF-16 internally: java.lang.String

    A String represents a string in the UTF-16 format in which supplementary characters are represented by surrogate pairs (see the section Unicode Character Representations in the Character class for more information). Index values refer to char code units, so a supplementary character uses two positions in a String.

提交回复
热议问题