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

The saved Chinese file name is garbled #64

Open
guo-yong-zhi opened this issue Apr 14, 2023 · 0 comments
Open

The saved Chinese file name is garbled #64

guo-yong-zhi opened this issue Apr 14, 2023 · 0 comments

Comments

@guo-yong-zhi
Copy link

using PNGFiles, Colors, FileIO
PNGFiles.save("中文.png", rand(Gray, 100, 100))
img = PNGFiles.load("中文.png")
save("中文.jpg", rand(Gray, 100, 100))

image

The jpg file name is right, but the png file name is wrong (however it can be loaded back correctly).


Julia Version 1.8.3
Commit 0434deb161 (2022-11-14 20:14 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
Threads: 1 on 8 virtual cores


Status C:\Users\me\.julia\environments\v1.8\Project.toml
[35d6a980] ColorSchemes v3.20.0
[5ae59095] Colors v0.12.10
[5789e2e9] FileIO v1.16.0
[916415d5] Images v0.25.2
[a98d9a8b] Interpolations v0.14.7
[ae8d54c2] Luxor v3.7.0
[f57f5aa1] PNGFiles v0.3.17

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

1 participant