Marco van de Voort schrieb:

utf8/16 -> ansi are a bit more involved. (since mapping many chars to few,
naieve implementation requiring large lookupsets)

A single 256 element array can be used for both directions. In Ansi to Unicode the char value is used to index the array of Unicode values, otherwise the given Unicode value is searched in the array.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to