[fpc-devel] Unicode resource strings

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Aug 22 01:51:05 CEST 2012


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




More information about the fpc-devel mailing list