我正在尝试从名为 test.txt
的文件中在 cmd
提示符下打印 Arabic
test.txt的内容如下:
ASCII abcde xyz
German äöü ÄÖÜ ß
Polish ąęźżńł
Russian абвгдеж эюя
CJK 你好
Arabic جيدة هذا هو اختبار
Test.txt
保存为编码:UTF-8
字体:arial
Unicode ms, script: Arabic
cmd
属性已更改为字体 Lucida console
和 chcp
(代码页)为 1256
但是当类型 test.txt
抛出垃圾值代替 Arabic 文本时。是否有任何解决方法可以正确显示它?
最佳答案
似乎没有解决方法:
Arabic and Hebrew (and for that matter Thai, Hindi, and other complex scripts) are not supported on Windows 2000 and Windows XP console.
关于windows - 将 txt 文件中的阿拉伯文文本显示到 cmd 提示符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19265447/