Boost logo

Boost Users :

Subject: Re: [Boost-users] something about UTF8
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2008-12-17 16:45:06


On Wed, Dec 17, 2008 at 1:54 AM, wind world <worldwindjp_at_[hidden]> wrote:
> hi guys,
> I want to use boost::regex in Windows XP to match Japanese kanji. The
> encoding of kanji is UTF-8 I want to make sure after I use the
> funcation: MultibyteToWideChar to change the UTF-8 Kanji
> string->wstring, I can directly use boost::wregex(from wstring) to
> match Japanese?

Not an expert in this, but if you compiled Boost.Regex with ICU, it
should have full support for such languages, whereas wide-chars may
not. May need someone else to come around and confirm...


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