Skip to content

The saved Chinese file name is garbled #64

@guo-yong-zhi

Description

@guo-yong-zhi
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions