[fpc-devel] Unicode and UTF8String

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Dec 1 21:45:46 CET 2008


On Mon, Dec 1, 2008 at 6:38 PM, Marco van de Voort <marcov at stack.nl> wrote:
> In our previous episode, Graeme Geldenhuys said:
> IOW, you give the programmer the choice about the type, instead of forcing
> him an arbitrary one, based on your favorite platform.

This is the part I like about this approach. The most likely fixed
encoding to be adopted would be UTF-16, and something not very nice
would happen to Lazarus users in UNIXes:

LCL (UTF-8) ------> RTL (UTF-16) ---> Operating System (UTF-8)

2 useless conversions.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list