
Am Samstag, den 27.01.2007, 16:03 -0500 schrieb John Christopher:
Hi,
std::string a; std::wstring b( a.begin(),a.end()); std::string c(b.begin(),b.end());
for a while now, I have started wondering if I was not shooting myself in
The reason I asked is that while I have been using the foot without knowing... I am no Unicode expert and Boost facilities in that area would certainly give me some confidence. Boost is nice also because codes are visited by skilled and experienced programmers and I am glad to benefit from that... :) More generally, I am still struggling on which string class I should use: std::string, std::wstring, some custom class... Tobias, just like everybody I guess, I do share the idea that a boost::unicode would be a really nice addition.
Hello Here is a recent post at boost-devel about unicode support http://thread.gmane.org/gmane.comp.lib.boost.devel/151673/focus=151686 The related library: http://utfcpp.sourceforge.net/ I never used it, but it looks good to me. HTH Maik