[Lazarus] Ord of a UTF8 char
Antônio
antoniog12345 at gmail.com
Sat Mar 27 18:46:39 CET 2010
I need to convert characters to numbers and I thought on a character
table or something.
Antônio
2010/3/27 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> On Sat, 27 Mar 2010 02:05:35 -0300
> Antônio <antoniog12345 at gmail.com> wrote:
>
>> Ord('a') makes sense to the compiler, Ord('á') does not. Why?
>
> Because 'á' is a string - a multibyte character.
>
> I'm curious, why do you need that?
>
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list