[fpc-pascal] Re: fpc-pascal Digest, Vol 34, Issue 13

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Jun 4 19:09:31 CEST 2007


On 6/4/07, gmjimen at burdjia.com <gmjimen at burdjia.com> wrote:
> I think I'll duplicate the functions, one for ASCII (ANSISTRING) coding and
> the other for UTF-8 (WIDESTRING). I think this is the best way.

A widestring is not suitable to hold a utf-8 string. A ansistring on
the other hand is. (ansi is just a name .. it can hold iso or utf-8
strings)

A widestring is suitable to hold ucs-2 or utf-16 strings.



More information about the fpc-pascal mailing list