Howto: output utf-8 (kannada) characters in a Windows terminal using java

I am working on a java application (tomcat). which is sometimes written to stdout. But I notice that the displayed languages ​​(say kannada ) turn out to be ?????? characters on std. window console (terminal) in Windows Vista (SP1 Home Premium 64-bit).

I know that I can run tomcat from emacs (GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6001)), so I could see the tomcat console output from emacs. Emacs makes kannada OK (albeit with errors).

But it would be nice if I could start tomcat from outside emacs, if I could.

I understand that I could run tomcat from within eclipse (where you can control console encoding), but again it would be nice to start tomcat due to an eclipse if I could.

So what do developers who want to see their pointer language do (which accepts 3 byte characters for rendering)? Also, what tail utilities do they use?

I tried to run the chcp 65001 command. But after that, catalina.bat does NOT start everything (exits without output): - (

PS: I work as an Administrator user if that helps.

Thanks for the tips and pointers.

+3
source share
2 answers

After a long search, I found that cmd.exe CANNOT print signed characters!

+1
source

You are limited by font , cmd. . , , , . Tomcat , , (, Arial, Verdana ..). TailXP, , Windows.

+2

Source: https://habr.com/ru/post/1733760/


All Articles