in reply to Re^2: Encoding problem with function in C libraryin thread Encoding problem with function in C library