简体   繁体   English

intellij idea 控制台 output 不支持土耳其语字符

[英]intellij idea console output not supporting turkish charecter

IntelliJ IDEA incorrect encoding in console output 控制台中的 IntelliJ IDEA 编码不正确 output

https://www.jetbrains.com/help/idea/encoding.html https://www.jetbrains.com/help/idea/encoding.html

Turkish characters are not supported in intellij idea's terminal after run command.运行命令后,intellij idea 的终端不支持土耳其语字符。 I tried the above two links but I couldn't solve the problem.以上两个链接我都试过了,还是没能解决问题。 console output photo-screenshot控制台 output 照片截图

Here is a related issue on YouTrack:这是 YouTrack 上的一个相关问题:

https://youtrack.jetbrains.com/issue/IDEA-291006/Running-the-Java-project-by-using-the-JDK-18-prints-the-garbled- https://youtrack.jetbrains.com/issue/IDEA-291006/Running-the-Java-project-by-using-the-JDK-18-prints-the-garbled-

Feel free to watch it in order to be notified once it has updates.请随时观看它,以便在它有更新时得到通知。 See this article if you are not familiar with YouTrack.如果您不熟悉 YouTrack,请参阅本文

For turkish character support, you chould choose the international global UTF-8 format.对于土耳其语字符支持,您可以选择国际全球 UTF-8 格式。

In IntelliJIdea **File / Settings / Editor / File Encoding** / *.properties Choose -> **Default encoding for properties files UTF-8在 IntelliJIdea **File / Settings / Editor / File Encoding** / *.properties 选择 -> **Default encoding for properties files UTF-8

By the use of BOM configurations you can find the correct solution for your files.通过使用 BOM 配置,您可以为您的文件找到正确的解决方案。 Do not forget that some choices of BOM for some class files can cause various \uxxxx errors like '' error不要忘记,某些 class 文件的 BOM 选择可能会导致各种 \uxxxx 错误,例如 ' ' 错误

Moreover you could choose also Global Encoding and Project encoding values just given above in the same tab as UTF-8 to get a more general solution for the future projects.此外,您还可以在与 UTF-8 相同的选项卡中选择上面给出的全局编码和项目编码值,以获得未来项目的更通用的解决方案。

Screenshot of the web content created by the use of many components bfrom messages.properties web使用多组件bfrom messages.properties创建的内容截图

printed text or response from local server with turkish characters带有土耳其字符的本地服务器的打印文本或响应

Settings Page设置页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM