On Mon, November 5, 2012 11:49, ik wrote:

Hello Ido,

> As I understand, AnsiString and AnsiChar contain the environment type
> of string (it can be ISO8859x, utf-8 etc...).
> If that so, how can I know the size (in bytes) of AnsiChar ?

As far as I understand it, AnsiChar is always 1 byte, i.e. it cannot hold
(whole) multi-byte encoded characters like UTF-8 (at least at the moment;
I'm not sure if this is supposed to stay like that also in the future or
not).

HTH

Tomas


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

Reply via email to