Debugging unicode strings? lazarus / 12-Debugger ---------------------------------------------------------------------- EganSolo · 2017-02-20 23:36 Hey guys, how do we setup the watch window to display unicode strings? I've got a simple program I'm writing to test unicode capabilities. I'm having an issue with the command line display. It won't display the upper case accented A, as in À. So, I set-up a breakpoint and added two variables to the watch window, this image shows you how they are displayed and the code shows you what I was expecting to see: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i S1 = 'bonjour sérénitàa';S2 = 'sérénitàa';  Is there a switch I'm missing to get either GDB or Lazarus or fpc to do the right thing? ---------------------------------------------------------------------- Martin_fr · 2017-02-20 23:48 Unfortunately its not implemented. ---------------------------------------------------------------------- Thaddy · 2017-02-21 07:56 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.