21
Mach4 General Discussion / Re: Mach4 does not support Unicode?
« on: March 09, 2018, 04:08:52 AM »There is a new build, 3713, that may help you and those looking for multi-byte character support. ftp://machsupport.com/Mach4/DevlopmentVersions/Mach4Hobby_Installer-4.2.0.3713.exe
Be aware the LUA strings can contain multi-byte characters, but it cannot properly count the length of such strings. So be careful if you are using multi-byte characters with LUA. Things will display correctly, but any string manipulation functions might not work are expected.
Also, the machine.ini in the profile's directory can't be edited and multi-byte characters inserted into it. It will store them, but they are stored as UTF-8 encoded ASCII. Once mach reads these, they are then converted to UNICODE. But if you put a multi-byte character in that file manually with a text editor, it will not be read by Mach properly.
Also, the G code file still need to be ASCII, so no multi-byte characters can exist in them. But filename and paths should work now. However, do not install Mach in a path that contains multi-byte characters. That may not work.
Notice the filename in the screen shot below. My wife is Korean and she taught me that.
Steve
Thanks for your kind explanation.
In fact, what I want is I can use multi-byte characters in "Folder name" and "File name".
Does the build 3713 allow me to use multi-byte file and folder names?