Boost logo

Boost :

Subject: Re: [boost] [locale] [filesystem] Windows local 8 bit encoding
From: Ryo IGARASHI (rigarash_at_[hidden])
Date: 2012-11-29 00:16:39


Hi Artyom,

On Wed, Nov 28, 2012 at 1:33 AM, Artyom Beilis <artyomtnk_at_[hidden]> wrote:
>>Using std locale get_system_locale() method works for code pages
>>of the form 'windows-XXX'. Others e.g. 'Shift_JIS' should fail.
>>
>
> In generally for locakes with Shift_JIS it shoudl return stuff like
> ja_JP.windows-932 (which is shift_jis)
>
> Is there problem with that?

Code page 932 is different from shift_jis. See the explanation in Wikipedia:
https://en.wikipedia.org/wiki/Code_page_932
Code page 932 contains extension characters to Shift-JIS, so we cannot
mix the two.

--
Ryo IGARASHI, Ph.D.
rigarash_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk