In IDEA there is UTF-8 encoding, in IDEA console, when entering chcp, it gives out 866. If I change to IDEA for Ansi-II, it displays question marks and on UTF-8 there are some hieroglyphs.
1 answer
Very strange behavior.
Here are the settings
Here is the project - utf8 encoding. Console - 866
No additional options were made for the compiler.
All the letters in place.
- And how do you run the applet? I create an applet.html file and on the command line write appletviewer applet.html. maybe I'm doing something wrong. but in IE does not start, swears at security. - Hovo
- I run into Idea - I created a launch configuration (3 screens) and a green triangle button. And in 'applet.html' what encoding is specified? - Sergey Mitrofanov
- in applet.html also UTF-8 - Hovo
- it turned out, thanks! I did not create the configuration) - Hovo
- oneAppletviewer also has a
-encodingoption,-encodingis supposed to acceptutf-8. Well,-Jfile.encoding=utf-8as an option. ( mstu.edu.ru/study/materials/java/pril_1.htm ) In your question, IDEA is an extra link as a component. Windows + cmd + appletviewer the right set of keywords. - Sergey Mitrofanov
|




chcp 65001and if you change the font, then put the "default" - Sergey Mitrofanov