为什么Scanner.next()方法返回 ? [英] why the scanner.next() method returns ��� ?
本文介绍了为什么Scanner.next()方法返回 ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图更改语言环境.
i have tried to change the locale.
the scanner reads arabic characters.
推荐答案
阿拉伯字符不是ASCII.这就是为什么它们显示不正确的原因.
您需要在Unicode中包含阿拉伯文字 [
arabic characters are not ASCII. That''s why they are not presented correctly.
You need to have the arabic text in unicode[^]
Do you just play along or is it an project you are working on?
Do you need a solution for this?
这篇关于为什么Scanner.next()方法返回 ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文