
On Mon, Dec 15, 2008 at 6:55 PM, wind world
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. Worldwind
I use Boost.Regexwith ICU. I use both VC2k3 and VC2k5, I do have VC6
installed but I do not know it if can build ICU or anything (been a
while since I have touched it), so I am assuming for the rest of this
post it does.
I 'think' (do not quote me on this) that it still supplies enough
Unicode functionality without ICU to 'work' in most cases. If you do
with to build with ICU, make sure the environment var HAVE_ICU=1 and
ICU_PATH=R:\SDKs\icu\icu or wherever your path is, where
ICU_PATH\include and ICU_PATH\lib are the appropriate directories.
You can also pass those directly to bjam as -sHAVE_ICU and so forth if
I remember correctly.
Do note, if you compile and use an ICU that is version 3 or newer
(which even now is pretty old), they build some libraries with
different names then what Boost expects, I *think* those are: