Re: [Lazarus] Unicode Again

2008-04-27 Thread Felipe Monteiro de Carvalho
> ListBox1.Items.Add(AnsiToUtf8(DateTimeToStr(now))); This is the safest choice. > Both results are the same. Is this because the results that are returned are > part of the lower portion < 128 that there is no difference. Yes, that's correct. If only ASCII chars are used, then utf-8 = ansi a

[Lazarus] Unicode Again

2008-04-26 Thread Lee Jenkins
I'm trying to wrap my head around Unicode still. I compile my IDE 0.9.25 with Unicode support according to this: http://wiki.freepascal.org/LCL_Unicode_Support#Compiling_LCL-Win32_with_Unicode I've tried both of the following: ListBox1.Items.Add(AnsiToUtf8(DateTimeToStr(now))); ListBox1.Items