Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Questions about locales

0 views
Skip to first unread message

James Ng

unread,
Jan 16, 2004, 6:50:10 AM1/16/04
to
Hi,

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.

Regards,
James Ng


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Colin Watson

unread,
Jan 16, 2004, 7:10:10 AM1/16/04
to
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 [cjwa...@flatline.org.uk]

0 new messages