On Mon, Mar 12, 2012 at 3:20 PM, Omer Zak <w...@zak.co.il> wrote: > > If you need to use Far Eastern fonts and/or have random access for your > text, use fixed size wide character encoding (16 bit or 32 bit size). > > Note that UTF-16, doesn't really offer random access, due to surrogate pairs (not all Unicode code points fits into 0..2^16). Although some implementations simply ignore this fact.
I humbly suggest you to have a look at https://github.com/elazarl/javaUnicodePitfalls a place I tried to capture some common language pitfalls (despite the name, not everything is unique to java).
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il