
16 Dec
2008
16 Dec
'08
9:49 a.m.
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.