I have the following program:
let txt = "إتصالات" printfn "Text is: %s" txt 0 // return an integer exit code
The txt value is set to some Arabic characters. When I run the program, what is displayed on the console is a bunch of question marks, not characters. The Visual Studio 2012 debugger displays the correct characters for the txt variable.
What am I doing wrong and how to display international characters correctly?
source share