Browse Source

[cs] set input encoding to utf-8

Aurel Bílý 6 years ago
parent
commit
472b1081ed
1 changed files with 1 additions and 0 deletions
  1. 1 0
      std/cs/Boot.hx

+ 1 - 0
std/cs/Boot.hx

@@ -42,6 +42,7 @@ class Boot
 
 	@:keep public static function init():Void
 	{
+		cs.system.Console.InputEncoding = new cs.system.text.UTF8Encoding();
 		cs.system.Console.OutputEncoding = new cs.system.text.UTF8Encoding();
 		cs.Lib.applyCultureChanges();
 	}