소스 검색

added an UTF8-test

- this basic test checks if bcc/bmk is capable of working with UTF8-texts
Ronny Otto 11 년 전
부모
커밋
bfe6376886
2개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      tests/framework/streams/utf8_01.bmx
  2. 1 0
      tests/framework/streams/utf8_01.res

+ 10 - 0
tests/framework/streams/utf8_01.bmx

@@ -0,0 +1,10 @@
+SuperStrict
+'HINT 1: this file must be saved with "Unicode BOM" to get recognized
+'        correctly by bmk/bcc
+'        So enable it in your editor of choice
+
+'HINT 2: this file outputs the wrong characters when opened in MaxIDE
+'        and then compiled clicking a button.
+'        So compile it with a console us bmk -o utf8_01 utf8_01.bmx
+
+print "Сайн байна уу би UTF8 мөр байна"

+ 1 - 0
tests/framework/streams/utf8_01.res

@@ -0,0 +1 @@
+Сайн байна уу би UTF8 мөр байна