haxe
haxe copied to clipboard
Invalid String Exception when inputting non-english text in interp mode (Sys.stdin().readLine)
I tried making a tool that shortens some repetative code writing using a series of inputs. On of them requires hebrew text. right after i "submit" the hebrew text, i get the error:
Uncaught exception Invalid string
C:\HaxeToolkit\haxe\std/haxe/io/Input.hx:183: characters 8-33 : Called from here
Reproducing this is as simple as using the text "ביג מק" with this code:
var i = Sys.stdin().readLine();
trace(i);