+ 2
Why I can't use Bengali words as expression of String in JAVA, C++, Python??
Restrictions of typing foreign language in High level programming..
2 Answers
+ 1
I can on Sololearn.
public class Example {
public static void main(String[] args) {
System.out.println("ą¦ą¦¦ą¦¾ą¦¹ą¦°ą¦£");
for (int ą¦øą¦ą¦ą§ą¦Æą¦¾ = 0; ą¦øą¦ą¦ą§ą¦Æą¦¾ < 10; ą¦øą¦ą¦ą§ą¦Æą¦¾++)
System.out.println(ą¦øą¦ą¦ą§ą¦Æą¦¾);
}
}
If you use commnad line try check codepage of terminal. In wndows there is chcp command.
There are ways how control Input output code page eg
Scanner(System.in, "852"); // for code page 852
Check how you code characters in your editor (file.java), like UTF-8 or 16 or ANSI