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
UTF
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 t
ik wrote / napĂsal(a):
On Mon, Nov 5, 2012 at 1:18 PM, Tomas Hajny 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
On Mon, Nov 5, 2012 at 1:18 PM, Tomas Hajny 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 AnsiChar
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.
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 - fpc-pascal@lists.freepascal.o