Boost logo

Boost :

Subject: Re: [boost] Review Request: Boost.Locale
From: Ryo IGARASHI (rigarash_at_[hidden])
Date: 2010-05-25 23:10:01


Hi,

I like this library that this will ease me using I18n stuff.

2010/5/24 Artyom <artyomtnk_at_[hidden]>:
> As matter of fact Boost.Locale supports:
>
> - narrow (normal) characters - char for 8 bits locale like ISO-8859-8.
> - narrow (normal) characters - char for variable length locale
>  like UTF-8 or even Shift-JIS.
> - wide characters wchar-t for both UTF-16 (Windows) and UTF-32 (POSIX)
>  encodings.

wchar_t may not be UTF-32 nor UCS-4 on POSIX system.
(Solaris/NetBSD do not define __ISO_STDC10646__)

See the following link for details why some think UCS-4 wchar_t is not enough:
http://www.usenix.org/event/usenix01/freenix01/full_papers/hagino/hagino_html/index.html

How about various stateful ISO-2022-* family?
Is conversion to/from locale like ja_JP.ISO-2022-JP supported?

-- 
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