Re: locale for Japanese Windows environment

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

 



Tsunehiko <soft_wind@xxxxxxxxx> writes:

> My gcc is as follows:
> Target : djgpp ( Japanese Windows XP / Windows Vista )
> gcc version 4.4.2
>
> I want to handle Japanese Kanji characters in file.
> So I need to set std::locale for Japanese environment,
> but exception is thrown from std::locale::facet for several
> possible parameters to locale ctor.
>
> I tried such parameters as :
> ja_JP.eucjp
> ja_JP.utf8
> ja
> japanese

This is not actually a gcc question.  gcc relies on the C library to
handle locale changes.  gcc does not provide the C library itself.
You need to check the C library that you are using.  I don't know what
the answer is for djgpp.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux