[Lazarus] Case error with cirilyc

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Sep 17 15:17:53 CEST 2009


On Thu, Sep 17, 2009 at 10:09 AM, dmitry boyarintsev
<skalogryz.lists at gmail.com> wrote:
> You need to convert Memo.Text to ansi string first:

Maybe you ment convert to widestring, or wanted to use the routine
UTF8ToAnsi. UTF8Decode returns a widestring.

If you wanted to use UTF8ToAnsi, then the application won't work in
most computers. It may work in the majority of Windows computers in
Russia, just like the Delphi solution, but I recommend using a more
universal solution.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list