On Saturday 05 August 2006 01:21, Paulo Roberto Candido dos Santos wrote:
> Hello. I'm having trouble with special characters like cedilla (ç) and
> others like ã and õ. I have a Gentoo server here that runs a custom
> enterprise software based in ncurses and slang. I'm from Brazil and these
> characters are common in this country.
>
> How can I enable these characters without using unicode? Yes... because of
> some misterious reason I can't use unicode.
Paulo,
You need to set your locale. Just set these in your .bashrc (or
to /etc/env.d/02locale for system-wide settings):
export LC_CTYPE=pt_BR.ISO8859-1
export MM_CHARSET=pt_BR
Then, if you are working from console, you also need to set appropriate font
and screenmap. Take a look at Gentoo Linux Localization Guide
(http://www.gentoo.org/doc/en/guide-localization.xml?style=printable) for
details.
BR,
dmitri
--
[email protected] mailing list