Skip to content
⌘ NSIS Forum Archive

Chineese filenames with File

7 posts

arzynik#

Chineese filenames with File

Hey,
While trying to load filenames with the File command it give me this error:
File: failed opening file "C:\Games\apez\Data\palette\+?"

the real filenames have chineese characters in them. do you have a program to list though the directories and thousands of files and rename them to a useable filename?

thanks
zimsms#
Well considering NSIS only supports MBCS, and not Unicode; have you tried using the File command with an MBCS string?

Or resort to wildcards....

Cheers!
bluenet#
Support Chinese,you must complie on a Chinese OS.Why using Chinese filename?Use PinYin instead of.
zimsms#
My installers support simplified and traditional chinese, without compiling on a chinese system. However, I use English filenames, and chinese shortcuts....... Only if you expect the end user to care about filenames should you even be concerned with the filename itself. Most of the OS is English behind the scenes anyways.
Joost Verburg#
It you have set the language for non-Unicode applications to Chinese and save your script file as MBCS.