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

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.

Replies are listed 'Best First'.
Re^6: Encoding problem with function in C library
by syphilis (Archbishop) on Dec 23, 2022 at 10:12 UTC
    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.

    Oh ... ok, I'll deal with that. Thanks for the heads up.

    Cheers,
    Rob