简体   繁体   English

用于Eclipse控制台的Google Cloud Tools中的字符损坏

[英]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.

相关问题 Google Cloud Tools for Eclipse用于GcsFilename的ClassNotFoundException - Google Cloud Tools for Eclipse ClassNotFoundException for GcsFilename 无法在 Eclipse 插件“Google Cloud Tools for Eclipse”中创建项目 - Failed to create project in Eclipse plugin "Google Cloud Tools for Eclipse" 为什么Eclipse的Google Cloud Tools插件会显示“未找到项目”? - Why does Google Cloud Tools Plugin for Eclipse say “No Projects Found”? 专案无法在Eclipse的Google云端工具上启动 - Project won't launch on Google Cloud Tools for Eclipse 在针对Eclipse的Google Cloud工具上运行Objectify时出现“ projectId必须与以下模式匹配”异常 - “projectId must match the following pattern” exception when running Objectify on Google Cloud tools for Eclipse 在 eclipse 中使用谷歌或工具 - Using google or-tools in eclipse Google Cloud Console中没有“ Cloud SQL”选项 - No “Cloud SQL” option in the Google Cloud Console Character.MIN_VALUE 的 Eclipse 控制台中没有输出 - no output in Eclipse console of Character.MIN_VALUE 无法在Eclipse Neon 3中安装SAP Cloud Hana工具 - Unable to install SAP Cloud Hana tools in Eclipse Neon 3 在Eclipse中使用Java测试Google Cloud Vision - Testing Google Cloud Vision with Java in Eclipse
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM