[英]Character corruption in the Google Cloud Tools for Eclipse Console
When debugging Google App Engine Standard Java Project, I currently use the latest Eclipse and SDK. 在调试Google App Engine标准Java项目时,当前使用的是最新的Eclipse和SDK。 System.out.println ("中中中"); System.out.println(“中中中”); is executed, Why is that, double-byte character set Chinese characters garbled on the console. 执行后,为什么在控制台上双字节字符集汉字出现乱码。
Characters are normally displayed without garbled characters on the console when executing ordinary Java Project, but on the Google App Engine Standard Java Project Console, " " is displayed and character corruption will appear . 执行普通的Java Project时,字符通常在控制台上显示为没有乱码的字符,但是在Google App Engine标准Java Project控制台上,显示为“ ”并且将出现字符损坏。 I already changed Resource Text file encoding is definitely set to UTF-8. 我已经更改了资源文本文件的编码,绝对将其设置为UTF-8。
Does anyone know something about this characters setting in App Engine Eclipse? 有人知道App Engine Eclipse中有关此字符设置的知识吗? Thank you. 谢谢。
Same problem too. 同样的问题。
There's something like 有点像
�E�� 03, 2018 3:38:32 �W�� com.google.appengine.tools.development.ApiProxyLocalImpl log
or 要么
Caused by: java.lang.UnsatisfiedLinkError: ??@??��'
in my console. 在我的控制台中。
I'm using Eclipse Photon/appengine.api.sdk 1.9.64 我正在使用Eclipse Photon / appengine.api.sdk 1.9.64
Have change 'Text file encoding' to 'UTF-8' and add '-Dfile.encoding=UTF-8' in eclipse.ini. 将“文本文件编码”更改为“ UTF-8”,然后在eclipse.ini中添加“ -Dfile.encoding = UTF-8”。
This problem occurs on both Win7 and Win10 system. 在Win7和Win10系统上都会出现此问题。
You can solve the problem by adding the following to the "WEB-INF/logging.properties": 您可以通过在“ WEB-INF / logging.properties”中添加以下内容来解决该问题:
handlers=java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.encoding=UTF-8
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.