
29 Nov
2012
29 Nov
'12
5:16 a.m.
Hi Artyom, On Wed, Nov 28, 2012 at 1:33 AM, Artyom Beilis <artyomtnk@yahoo.com> 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@gmail.com