Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asciidocfx 1.8.6 after install not display chinese #610

Open
Depthkernelcore opened this issue Nov 6, 2023 · 6 comments
Open

asciidocfx 1.8.6 after install not display chinese #610

Depthkernelcore opened this issue Nov 6, 2023 · 6 comments

Comments

@Depthkernelcore
Copy link

hello,everyone, I am using ascidocfx in win10,but it is not correct displaying chinese:

I attempt to modify win10 setting,but no use;
Snipaste_2023-11-06_10-58-43
Snipaste_2023-11-06_11-01-12

@rahmanusta
Copy link
Member

Hey, what is wrong with?

@Depthkernelcore
Copy link
Author

I don't kown! Other Soft are OK. AsciidocFX reinstall still does.

@Depthkernelcore
Copy link
Author

I find change my computer setting is useful:
Control Panel --> Clock and Region --> Region --> Adminnistrative --> Chang system locale

1、choose Chinese(Simplified,China) AsciidocFX display chinese is not ok
2、choose English(US) AsciidocFX display chinese is ok

Snipaste_2023-11-06_16-16-09

@rahmanusta
Copy link
Member

Dear @Depthkernelcore , I don’t understand chinese alphabet, please explain what is wrong and how it should be.

@Depthkernelcore
Copy link
Author

Hi,rahmanusta
simply put,when I use AsciidocFX, my system(win10) set Control Panel --> Clock and Region --> Region --> Adminnistrative --> Chang system locale --> Chinese(Simplified,China), Enter chinese , Chinese characters are displayed abnormally. But my system(win10) set Control Panel --> Clock and Region --> Region --> Adminnistrative --> Chang system locale --> English(US), Enter chinese , Chinese characters are displayed normally!

@life888888
Copy link

life888888 commented Nov 9, 2023

I can't reproduce this error.

Install AsciidocFX 1.8.6 Windows EXE (https://github.com/asciidocfx/AsciidocFX/releases/download/v1.8.6/AsciidocFX_Windows.exe )

zh_input_test

I tested it twice, switched to different settings, and restarted the computer to take effect. I can use the pinyin input method to input Chinese in AsciidocFX, and the directory and file names with Chinese names are displayed normally.

lang_setting_en_us

  • sun.io.unicode.encoding=UnicodeLittle
  • sun.cpu.endian=little
  • sun.jnu.encoding=Cp1252
  • file.encoding=Cp1252
  • native.encoding=Cp1252
  • user.language=zh
  • user.country=CN

lang_setting_zh_cn

  • sun.io.unicode.encoding=UnicodeLittle
  • sun.cpu.endian=little
  • sun.jnu.encoding=GBK
  • file.encoding=GBK
  • native.encoding=GBK
  • user.language=zh
  • user.country=CN

lang_setting_zh_cn_encoding

I am using MS Windows 10 VM from "MSEdge - Win10.ova" to test it.
Default is English language environment, then I add lanaguage pack. (ZH CN)

001

002

show_zh

You can see that the directory name named in Chinese and the file name named in Chinese can be displayed normally.
In addition, the input method is the Pinyin input method built into Windows 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants