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

保存的文件名乱码 #969

Closed
zongsheng-zhao opened this issue Aug 28, 2018 · 6 comments
Closed

保存的文件名乱码 #969

zongsheng-zhao opened this issue Aug 28, 2018 · 6 comments
Labels

Comments

@zongsheng-zhao
Copy link

@zongsheng-zhao zongsheng-zhao commented Aug 28, 2018

保存的文件名是乱码
image
image
Snipaste版本1.16.2
Snipaste语言设置:English(在简体中文下也是同样的问题)
操作系统,最新的windows10家庭版,版本号1803,语言设置:中文(zh-Hans-HK),地区设置:香港,首选语言中文,见下图:
image

@liulex
Copy link
Member

@liulex liulex commented Aug 30, 2018

只有 Snipaste 有这种情况?

@zongsheng-zhao
Copy link
Author

@zongsheng-zhao zongsheng-zhao commented Aug 30, 2018

我用的某个visual studio插件也出现了一部分的数字乱码,但是其他软件都没有问题。我把windows显示语言调成英文后这个问题也会消失。会不会是windows的某个API用的不是很严谨,所以在某些版本的win10下会有显示上的问题?类似C++的undefined behavior

@liulex
Copy link
Member

@liulex liulex commented Oct 13, 2018

我使用了你截图的设置也无法重现哦……
用的是 Qt 封装的接口,不存在使用不正确的原因,
只有尝试更新系统版本了或乱调系统设置了 _(:з」∠)_

@liulex
Copy link
Member

@liulex liulex commented Oct 18, 2018

已修复,会在下一次更新包含。

@liulex liulex added bug done labels Oct 18, 2018
@liulex liulex closed this Oct 18, 2018
@zongsheng-zhao
Copy link
Author

@zongsheng-zhao zongsheng-zhao commented Oct 19, 2018

感谢!方便分享是什么导致的这个问题吗?这个问题我在其他软件上也遇到过一两次,想看看能否有所帮助

@liulex
Copy link
Member

@liulex liulex commented Oct 20, 2018

@zongsheng-zhao
简体-香港 这个区域格式下,QLocale::system().zeroDigit() 这个接口返回的是 ,即 0.
Qt 之后对其他数字的处理就更直接了,1 + 1,即 2 + 2,即 ……
大概算是 Qt 的 bug……

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.