Re: cygwin_conv_ functions and character encoding

2016-02-08 Thread Corinna Vinschen
On Feb 5 16:47, Thomas Wolff wrote: > The cygwin path conversion functions ignore the current locale; > rather they seem to always use the locale environment set when the program > was started, see test program convloc.c: > [...] > In sys_wcstombs in strfuncs.cc I see: > const char *charset = cy

cygwin_conv_ functions and character encoding

2016-02-05 Thread Thomas Wolff
The cygwin path conversion functions ignore the current locale; rather they seem to always use the locale environment set when the program was started, see test program convloc.c: #include #include #include #include int main() { setlocale(LC_ALL, "C.UTF-8"); char * utfstring = "böh";