Georg Baum wrote:
Peter and Abdel, can you please test whether the attached test program works (or could be made to work) on windows with lyx::char_type == boost::uint32_t?

If yes, then I'd like to put the attached patch in and proceed with solution 2) above.

With two modifications (include inconv.h and add a const in the const_cast) it compiles on MSVC2005 and gives this:

test:
Error 0 returned from iconv: No error
error result. inbytesleft: 2 outbytesleft: 8
 abcd
 Σ÷ⁿ
20 e4 f6 fc
 ─╓▄
20 c4 d6 dc
 abcd

Reply via email to