Boost logo

Boost Users :

Subject: Re: [Boost-users] something about icu
From: John Maddock (john_at_[hidden])
Date: 2008-12-16 04:49:49


wind world wrote:
>> hi guys,
>> I want to use boost::regex in Windows XP + VC6 to match Japanese . I
>> want to know if I need to enable ICU when I compile boost_1_36_0. In
>> my short test program, I did not enable icu and it still can mathch
>> and replace Japanese. But I do not know it is always right.
>> And if I want to match Japanese I mush enable ICU?
>> Appreciate any help.

I believe you should probably be OK without it: by default boost::wregex
will use the native Win32 locale functions, so as long as the Windows wide
character API's support the Japanese locale then you will be fine.

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net