[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Questions about locales



On Fri, Jan 16, 2004 at 07:40:49PM +0000, James Ng wrote:
>     I want to ask something about locales. Since my nationality is 
> Chinese (from Hong Kong), I use the locale zh_TW.Big5. When I upgraded 
> the gcc and g++ with "apt-get", during the setting up, the following 
> messages is shown:
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>             LANGUAGE = (unset),
>             LC_ALL = (unset),
>             LC_CTYPE = "zh_TW.Big5"
>             LANG = "zh_TW.Big5"
>         are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C")
> 
> When I run xcin, which is used to input Chinese Character and using 
> locale zh_TW.Big5.
> the console report that "C locale "zh_TW.Big5" is not supported by your 
> system".
> 
>       I want to ask if the gcc and g++ is too new, so that it has some 
> problem with the locale.

This is entirely unrelated to gcc and g++ apart from the fact that you
happened to see the message while installing them.

Use 'dpkg-reconfigure locales' to generate the zh_TW.Big5 locale on your
system.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: