Pandora How to enable UTF-8 output on Pandora?


jgeiss

Still Fresh
Joined
Feb 4, 2012
Messages
23
Location
Germany, Bavaria
Hi there,

I have a C application, which outputs some text in UTF-8. The output looks messed up, since the terminal does not encode UTF-8 correctly.

How can I achive a correct output on the standard Terminal? Do I have to set LANG, LC_LANG, LC_CTYPE, etc.? Must I compile/link a special library to my application?

Thanks for any suggestion

Johannes
 
Make sure to use a terminal emulator that supports UTF-8, xterm doesn't (though I prefer it for purely nostalgic reasons). And use a font that actually has all the glyphs you need, I think some of the included ones don't.
 
I don't think the Pandora xterm has UTF-8 enabled, but I may be wrong (and I didn't specifically say that I was talking about the Pandora one anyway).
 
Back
Top