还是没解决 <Still not resolved>
OK, I've created a file named test.txt on my C drive in a folder with this path:
C:\\TEMP\\测试\\test.txt
If I type the folling into the command prompt:
Command: (setq fn (findfile "C:\\TEMP\\测试\\test.txt"))
"C:\\TEMP\\测试\\test.txt"
As you can see it works fine for unicode letters in the path.
What might have an issue is the lisp write-line as it saves to file in ANSI format. Perhaps look into something Lee's done before:
http://www.theswamp.org/index.php?topic=40709.0Edit: It seems the open function causes an issue already:
Command: (setq fn (findfile "C:\\TEMP\\测试\\test.txt"))
"C:\\TEMP\\测试\\test.txt"
Command: (setq f (open fn "r"))
nil
So I'm guessing you might have to use a FileSystem object to obtain the 8.3 names for the path and then send that to open instead of the unicodes.