public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Special characters in the console
@ 2006-08-04 21:21 Paulo Roberto Candido dos Santos
  2006-08-04 22:12 ` dg
  0 siblings, 1 reply; 2+ messages in thread
From: Paulo Roberto Candido dos Santos @ 2006-08-04 21:21 UTC (permalink / raw
  To: gentoo-user, gentoo-server

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 385 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Special characters in the console
  2006-08-04 21:21 [gentoo-user] Special characters in the console Paulo Roberto Candido dos Santos
@ 2006-08-04 22:12 ` dg
  0 siblings, 0 replies; 2+ messages in thread
From: dg @ 2006-08-04 22:12 UTC (permalink / raw
  To: gentoo-user

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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-04 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-04 21:21 [gentoo-user] Special characters in the console Paulo Roberto Candido dos Santos
2006-08-04 22:12 ` dg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox