Yes. It's a GDB issue too.
But:
For linux console, try unicode_start to force unicode mode (most Linux consoles are already UTF8, but just in case)
For windows console, try chcp 65001 to force unicode mode (or cmd.exe /U )
Alternatively check what your code page is, by typing just chcp. Then you can also adapt your code to use that codepage....
Then run your program. Plz report back if it worked.