Why I can't use Bengali words as expression of String in JAVA, C++, Python?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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..

1st Jun 2020, 9:45 AM
The Black Hat 🇨🇦🇧🇩
The Black Hat  🇨🇦🇧🇩 - avatar
1 Answer
+ 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
1st Jun 2020, 6:12 PM
zemiak