I'm using gm (a node JS library that can trigger GraphicsMahick and ImageMagick commands:
http://aheckmann.github.io/gm/docs.html) and I'm experiencing the problem where I can't read filenames containing Chinese characters in Unicode, but I assume it can read Latin alphabets in Unicode, because some commands were passed through a web file encoded in UTF-8. I have to stress that I am not an expert in programming.
This is how the problem occur:
- Platform: Win10
- Installed version: ImageMagick-6.9.3-8-Q16-x64-dll.exe
- Problem persists with Command Prompt and Command Prompt inside Powershell.
- Command:
Code: Select all
convert -encoding unicode -identify 獅藝學會.jpg
I also have to clarify that I'm pretty sure that the "encoding" option is not supposed to be used this way.
This is what the Command Prompt returns exactly (it may contain 2 transparent Unicode characters):
Code: Select all
convert.exe: no images defined `ç…è—å¸æœƒ.jpg' @ error/convert.c/ConvertImageCommand/3252.