+ 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
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
1st Jun 2020, 6:12 PM
zemiak