Niklas Wiberg wrote:
Hi, I'm using boost 1.33.0 on windows (VC++6). I would like to use a code_converter to convert internal std::wstring's (which I understand are ucs2 in windows/vstudio, but that shouldn't matter here I guess) to utf-8 when saving to file. Here is the failing code:
The problem is that I get a crash as the stream is being destroyed. The call stack is too deep to include here, but one of the last things are: policy_type& dev() { return **dev_; } in boost.iostreams.detail.code_converter_impl which calls
Am I going about this the completely wrong way or am I just missing some important detail?
It sounds like a bug in Iostreams; I'll look into it.
Any help would be greatly appreciated, Niklas Wiberg
-- Jonathan Turkanis www.kangaroologic.com