LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why I always have unreadable character? (https://www.linuxquestions.org/questions/linux-newbie-8/why-i-always-have-unreadable-character-680425/)

duyuyang 11-01-2008 03:03 AM

Why I always have unreadable character?
 
Copyright 漏 2008 Free Software Foundation, Inc.

Above is an example when I "man" every command. My Locale is "en_US.UTF-8".
What other locales should I generate?

Thanks,

Shawn

pinniped 11-01-2008 03:27 AM

That just means that there is no glyph for the specified character code; this would be a matter of installing and using a font with that glyph.

duyuyang 11-03-2008 06:44 AM

Thank you. Almost all other glyph characters are ok, but for that _copyright_.
What is the ttf for it?

Thanks,

Shawn

pinniped 11-03-2008 07:29 AM

I really don't know where to start - first of all, installing a TTF font will only help if TTF fonts are being used to render the character. If, for example, you're on a virtual console, then you'd use the tools 'consolechars' and perhaps edit the font table with 'psfaddtable' and similar tools.

On my system the man pages always show me (C) (*not* the copyright symbol) so I don't even know where to begin sorting out what ultimately renders the text in your case.

I wasn't correct before when I said it's a 'missing glyph' - it occurred to me later that the glyph could in fact be there, but if it's not properly mapped to the font(s) used for your locale then as far as the system is concerned, no glyph exists for that specified character code.


Perhaps you can find some clues here:
http://www.linux.org/docs/ldp/howto/TT-Debian.html
(But one of the most important parts - creating the font map file - is barely existent)
Unfortunately I can't comment on the font map file either since I don't know its structure as used by X or the console.

Good luck. :)


All times are GMT -5. The time now is 09:34 AM.