JAVA中文乱码解决
java
// 编码解决方案
"files.encoding": "utf8",
"[java]": {
"files.encoding": "utf8"
},
// 终端配置
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"args": [
"-NoExit",
"-Command",
"chcp 65001 > $null; [Console]::OutputEncoding = [System.Text.Encoding]::UTF8"
]
}
},
Maven利用模板快速构建空项目报错

github.com/microsoft/vscode-maven/issues/1088
目前是个Bug,有人建议换vscode老版本
Bug体现在插件写死了要用cmd,但是cmd对于外层引号很敏感,可惜不能用powershell
Tomcat日志输出中文乱码解决
"D:\dev-env\java\apache-tomcat-10.1.48\conf\logging.properties"
java
java.util.logging.ConsoleHandler.encoding = GBK