On Mon, 15 May 2006 11:23:29 +0330
"roozbeh gholizadeh" <[EMAIL PROTECTED]> wrote:
> On Mon, 15 May 2006 07:53:45 +0330, ik <[EMAIL PROTECTED]> wrote:
>
> Well the only solution i see is something like tnt componenets.
> Adding widetext,widecaption and wide... to components.And also some kind
> of unicode property which says how to treat those strings,ie
> utf-8,utf-16,utf-7,utf-32,ansi and so on.
> At least for win32/wince the benfit of widestrings is you can easily use
> all string functions like pos and others...
> using encoded string you have to decode them and then use those functions!
widestring won't help. unicode has more characters, than 2-byte numbers.
There is no 2-byte encoding.
For pos and copy you can use UTF8Pos and UTF8Copy in the lclproc unit.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives