文字コード総合スレ part2
■ このスレッドは過去ログ倉庫に格納されています
0397デフォルトの名無しさん
2006/10/25(水) 17:20:04JDK 5.0からね。
http://java.sun.com/developer/technicalArticles/Intl/Supplementary/
> Most text-processing APIs, however, use character sequences, such as
> the String class or character arrays. These are now interpreted as
> UTF-16 sequences, and the implementations of these APIs is changed to
> correctly handle supplementary characters. The enhancements are part
> of version 5.0 of the Java 2 Platform, Standard Edition (J2SE).
昔はUCS-2と明記されていた。
それからcharはUCS-2でしょ? 16bitのままだから。
charの列はAPIでUTF-16として扱うようになった。
■ このスレッドは過去ログ倉庫に格納されています