Dmitry Potapov: > because Microsoft C library does not work with encoding that requires > more than two bytes per character. Indeed. On Windows, you should avoid using UTF-8 and instead use UTF-16 everywhere. That usually works better, and if you run on an NT-based system it will convert all the data to WinAPI to UTF-16 anyway. -- \\// Peter - http://www.softwolves.pp.se/ - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html