
25 Nov
2009
25 Nov
'09
4:45 p.m.
Robert,
I suspect this could be the source of the problem. I don't remember the details, but I do remember that using the codecvt facets as intended turned out to be a lot more intricate that it first appears. I had to pour over the appendices of Stroustrup's "The C++ Programming Language". Also there is a book by Langer which addresses this in detail. So I guess I would have to amend my previous statement "really easy" to "really easy - once you figure it out"
:) I'm reading Josuttis' C++ STL book, which also covers this issue, but so far it's beyond me :( thus, I have opted to use the utfcpp project found at http://utfcpp.sourceforge.net/ , which I also found in the boost vault. Akos