On Mon, 16 Jul 2007 09:36:25 +0200
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:

> On 7/16/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > What do you think that is ? By default all special characters are
> > simply stripped.
> 
> This doesn't make sense. Here is how that utf-8 string appear on a iso
> viewer, like the lazarus code editor:
> 
>   MyStr := 'Accents á, Ã(c), í, ó, ú Polsko: ć, Ä™, Å‚, Å›, ź,
> ż';
> 
> The characters aren't that special. If what you are saying was true,
> it would be impossible to write ansi applications using à or (c)
> 
> Also, this code works on Gtk2 and Qt interfaces.
> 
> >   Writeln(T);
> 
> I don't think the windows console will display utf-8 characters
> 
> I changed from utf8string to string on my code and it didn't change
> anything, so I guess we can rule this out.

Maybe this function helps here:

writeln(dbgstr(T));


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to