* [gentoo-user] mplayer does not have man page & output info is chinese
@ 2010-02-04 4:07 Xi Shen
2010-02-04 4:50 ` Xi Shen
0 siblings, 1 reply; 3+ messages in thread
From: Xi Shen @ 2010-02-04 4:07 UTC (permalink / raw
To: gentoo-china, gentoo-user
hi,
my system is gentoo amd64. my /etc/env.d/01locale is empty. after i
compiled mplayer, the output info is chinese, and i cannot read it
console, even though i can read it in the xterm. how to make the
output to english?
in my /etc/locale.gen file, i do have chinese support.
and, my mplayer does not have man page. i tried to add the 'doc' use
flag, but it does not have affect.
--
Best Regards,
David Shen
http://twitter.com/davidshen84/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] mplayer does not have man page & output info is chinese
2010-02-04 4:07 [gentoo-user] mplayer does not have man page & output info is chinese Xi Shen
@ 2010-02-04 4:50 ` Xi Shen
2010-02-04 5:53 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 1 reply; 3+ messages in thread
From: Xi Shen @ 2010-02-04 4:50 UTC (permalink / raw
To: gentoo-china, gentoo-user
On Thu, Feb 4, 2010 at 12:07 PM, Xi Shen <davidshen84@googlemail.com> wrote:
> hi,
>
> my system is gentoo amd64. my /etc/env.d/01locale is empty. after i
> compiled mplayer, the output info is chinese, and i cannot read it
> console, even though i can read it in the xterm. how to make the
> output to english?
>
> in my /etc/locale.gen file, i do have chinese support.
>
>
> and, my mplayer does not have man page. i tried to add the 'doc' use
> flag, but it does not have affect.
>
>
> --
> Best Regards,
> David Shen
>
> http://twitter.com/davidshen84/
>
ok, i figured it out myself. i double checked my environment, and
found that the LC_CTYPE was set the "en_US.UTF8". but i do not
understand why it compiles my 'mplayer' to display chinese. after i
changed the LC_CTYPE value to "en_US" and recompile 'mplayer', the
output info becomes english, and the man page is back.
--
Best Regards,
David Shen
http://twitter.com/davidshen84/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: mplayer does not have man page & output info is chinese
2010-02-04 4:50 ` Xi Shen
@ 2010-02-04 5:53 ` Nikos Chantziaras
0 siblings, 0 replies; 3+ messages in thread
From: Nikos Chantziaras @ 2010-02-04 5:53 UTC (permalink / raw
To: gentoo-user
On 02/04/2010 06:50 AM, Xi Shen wrote:
> On Thu, Feb 4, 2010 at 12:07 PM, Xi Shen<davidshen84@googlemail.com> wrote:
>> hi,
>>
>> my system is gentoo amd64. my /etc/env.d/01locale is empty. after i
>> compiled mplayer, the output info is chinese, and i cannot read it
>> console, even though i can read it in the xterm. how to make the
>> output to english?
>>
>> in my /etc/locale.gen file, i do have chinese support.
>>
>>
>> and, my mplayer does not have man page. i tried to add the 'doc' use
>> flag, but it does not have affect.
>
> ok, i figured it out myself. i double checked my environment, and
> found that the LC_CTYPE was set the "en_US.UTF8". but i do not
> understand why it compiles my 'mplayer' to display chinese. after i
> changed the LC_CTYPE value to "en_US" and recompile 'mplayer', the
> output info becomes english, and the man page is back.
On Gentoo, the languages a program supports is controlled by the list of
languages specified in the LINGUAS variable in /etc/make.conf. This is
because most software can support more than one language. If your
LINGUAS includes Chinese, mplayer will be compiled with support for Chinese.
The language used when the program is running is controlled by the
LC_ALL and LANG environment variables. This is usually set in
/etc/env.d/02locale. If you can't see Chinese in your console but can
in an xterm, that means your console is using a font that does not
support the encoding of LC_ALL or does not have Chinese characters in
it. You will need to load a console font with Chinese support. The
console font is usually specified in /etc/conf.d/consolefont.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-04 5:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 4:07 [gentoo-user] mplayer does not have man page & output info is chinese Xi Shen
2010-02-04 4:50 ` Xi Shen
2010-02-04 5:53 ` [gentoo-user] " Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox