Hello, I made an application in which several JFrame windows with Russian text, after being packed into a jar file and when opening (without IDE) in Windows7, all the text in hieroglyphs. What do you need to do in this case?

  • Try to start a jar file like this: java -Dfile.encoding = UTF-8 -jar jarFileName.jar - Mikhail Ketov
  • @ MikhailKetov no, still hieroglyphs - user238409 February
  • need to translate encoding to UTF-8 ( re - save as UTF-8 ) - fonjeekay
  • @fonjeekay and how to do it? - user238409
  • It depends on the environment in which you created. That is, even if everything was written through a notebook, and compiled via the command line, if I understood correctly, then open a file containing a code to re UTF-8 save from UTF-8 in a notebook (encoding is an encoding that can be set when saving, it depends on the notebook and OS and compile again. Specify the programs that you use to be able to answer you more specifically ... - fonjeekay

0