Hi,
Just to go a step further, even in a UTF16 String, the Code Element Size
probably returns 2, but there is still no guarantee that every character
will be handled by one element. For example, all common characters from
European languages, Korean, and Japanese can be handled in 2 bytes in
Hello,
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 ?
Thanks,
Ido
___
fpc-pascal maillist -
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
On Mon, Nov 5, 2012 at 1:18 PM, Tomas Hajny xhaj...@hajny.biz wrote:
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
ik wrote / napĂsal(a):
On Mon, Nov 5, 2012 at 1:18 PM, Tomas Hajny xhaj...@hajny.biz wrote:
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
On 05 Nov 2012, at 11:49, ik wrote:
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 ?
The size of the type AnsiChar is always one byte. It is impossible
to give