[Lazarus] PAnsiChar to UTF8 issues

Leonardo M. Ramé l.rame at griensu.com
Tue Apr 9 20:43:54 CEST 2013


I'm finding some weird results.

If I execute my program from an XFCE4-Terminal, I get the diamond with a
"?" inside, but if I redirect the output of my program to vim (executed
from the same xfce4-terminal) I can see the "Ñ" (ASCII 209). Please see
the attached screenshot, the upper part shows the console output, the
lower part shows vim running on the same console.

So, aparently the text is ASCII and not UTF8 as I thought. 

I hope this data helps to find a solution...

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ascii.jpg
Type: image/jpeg
Size: 62030 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130409/fef521b5/attachment-0003.jpg>


More information about the Lazarus mailing list