openjfx / openjfx-docs

Getting started guide for JavaFX 11
BSD 3-Clause "New" or "Revised" License
95 stars 25 forks source link

JavaFX 乱码问题不知道如何解决 #251

Open FlycanA opened 2 months ago

FlycanA commented 2 months ago

image 具体症状表现为乱码,任何的JavaGUI版本程序都会乱码,不是单独的某一个程序,此外在另一台虚拟机上运行不会乱码,但是控制台会有相同提示,我猜测是可能某个系统配置原因吧,但是已经排除 -Dfile.encoding=UTF-8,应为测试过没有用 这是系统信息: 主机名: TIANHE-1A OS 名称: Microsoft Windows 10 家庭中文版 OS 版本: 10.0.19045 暂缺 Build 19045 OS 制造商: Microsoft Corporation OS 配置: 独立工作站 OS 构建类型: Multiprocessor Free "The specific symptom is garbled characters, where any Java GUI version program displays garbled characters. It's not specific to a particular program. Additionally, when running on another virtual machine, there are no garbled characters, but the console displays the same message. I suspect it may be due to a certain system configuration, but I have already ruled out -Dfile.encoding=UTF-8, as I have tested it and it didn't work. Here is the system information:

Host Name: TIANHE-1A OS Name: Microsoft Windows 10 Home Chinese Edition OS Version: 10.0.19045 (Build 19045) OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free"