It seems that Win32::SetConsoleOutputCP(65001) sets the codepage for the duration of the program
As Corion pointed out, that's unfortunately not the case, the change does persist and you'll have to do something in an END block like he showed.
In reply to Re^5: Encoding problem with function in C library
by haukex
in thread Encoding problem with function in C library
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |