in reply to Re^3: Encoding problem with function in C library
in thread Encoding problem with function in C library
That works nicely on Windows 10 and 11. But not on Windows 7, where I find that altering the codepage ostensibly succeeds, but in reality takes no effect.use warnings; use strict; use open qw/:std :encoding(UTF-8)/; use Win32; Win32::SetConsoleOutputCP(65001); print "\N{U+B1}\N{U+221E}\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Encoding problem with function in C library
by haukex (Archbishop) on Dec 23, 2022 at 08:40 UTC | |
by syphilis (Archbishop) on Dec 23, 2022 at 10:12 UTC | |
|
Re^5: Encoding problem with function in C library
by hippo (Archbishop) on Dec 23, 2022 at 08:16 UTC | |
by syphilis (Archbishop) on Dec 23, 2022 at 10:52 UTC |