[Lazarus] PAnsiChar to UTF8 issues
Leonardo M. Ramé
l.rame at griensu.com
Tue Apr 9 21:49:09 CEST 2013
On 2013-04-09 15:35:18 -0400, waldo kitty wrote:
> On 4/9/2013 14:42, Howard Page-Clark wrote:
> >On 09/04/13 6:35, Leonardo M. Ramé wrote:
> >>
> >>No, I've tried all kinds of combinations of ansitoutf8, unicodestring,
> >>etc, but nothing works, all returns "?" or the box with the X in the
> >>place of "ñ" or accents.
> >
> >Impertinent question really, but do you know for certain that the font assigned
> >to your label has glyphs corresponding to each unicode entity your string contains?
>
> i was wondering the same thing but couldn't get it to phrase
> properly... the font table is what i was having trouble with
> expressing... thanks for clearly pointing out another possible
> problem area for UTF-8 glyph rendering... hopefully this will be
> documented as a possible pitfall in the UTF functions' documentation
> or basic explanation of operations...
>
>
I really don't know, I'm using the same font as my Terminal (where the Ñ
is shown correctly). Apart from it, I checked with other different
fonts, and Charsets, but got the same result.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list