狂人居

路漫漫其修远兮,吾将上下而求索


  • 首页

  • 分类

  • 归档

  • 开发

  • Resume

  • 相册

  • 搜素
close

GoLand 控制台输出中文乱码的解决方案

时间: 2020-09-17 10:10:13   |   分类: 知识库     |   语雀

Goland-Settings 设置

点击 Goland 菜单栏 File-Settings-Editor-File Encodings.
设置 Global Encoding 为 UTF-8
设置 Project Encoding 为 UTF-8
设置 Default encoding for properties files 为 UTF-8

设置 Goland 目录中的文件

在 goland.exe.vmoptions 和 goland64.exe.vmoptions 文件末尾
添加 - Dfile.encoding=UTF-8

(这两个文件位于安装 Goland 安装所在目录的 bin 目录下。)

修改 Goland-VM Options

点击 Goland 菜单栏的 Help-Edit Custom VM Options,
在打开的文件末尾处添加参数 - Dfile.encoding=UTF-8

重启 Goland

乱码问题解决!
https://blog.csdn.net/qq_44785877/article/details/107947454?utm_medium=distribute.pc_relevant.none-task-blog-title-5&spm=1001.2101.3001.4242

PyCharm中配置PySide2
[转]分布式存储系统Minio简介
  • 文章目录
  • 站点概览
jabin

jabin

Programmer & Architect

  • Goland-Settings 设置
  • 设置 Goland 目录中的文件
  • 修改 Goland-VM Options
  • 重启 Goland
Powered by - XuGo-YuQue 0.1.3
Theme by - NexT
| 粤ICP备17022455号
0%