Why I can't use Bengali words as expression of String in JAVA, C++, Python?? | SoloLearn: Learn to code for FREE!

+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..

6/1/2020 9:45:22 AM

The Black Hat 🇧🇩

2 Answers

New Answer

+10

https://www.quora.com/Why-are-all-programming-languages-written-in-English

+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