1

I found this happen @ Mathematica 10 pre test version and formal English version.

  • Copy a file from windows, then paste into FrontEnd cell, you'll get a path, such like

    "C:\\Users\\Hyper\\Documents\\b"

This is Ok.

However, in the Chinese character case

"C:\\Users\\Hyper\\Documents\\新建文件夹"

This is bad. [It's fine before version 10.0]

  • choose a file then Shift+Right-Mouse-Click, and Copy as path, then paste into FrontEnd cell, you'll get a path, such like

    file1="C:\Users\Hyper\Documents\b"

    file2="C:\Users\Hyper\Documents\新建文件夹"

    file3="C:\Users\Hyper\Documents\b\新建文件夹"

So, two methods to get path from windows system both work badly, ie

FileExistsQ[file1]==>False

FileExistsQ[file2]==>True

FileExistsQ[file3]==>False

I have many old files in Chinese path, they cannot be dealt conveniently by Mathematica 10.0@Windows now.

I should manually delete a backslash in the path string, and if I use another method to get file path, \b, \hello these names are annoying.

enter image description here

Is this a simple bug? Why not just keep it the same as that in Version 9?

kglr
  • 394,356
  • 18
  • 477
  • 896
HyperGroups
  • 8,619
  • 1
  • 26
  • 63
  • Could you describe what is bad with the Chinese character path? Are the characters supposed to be escaped or so? – Sjoerd C. de Vries Aug 11 '14 at 09:22
  • @SjoerdC.deVries I should manually delete a backslash in the path string, and if I use another method to get file path, \b, \hello these names are annoying. – HyperGroups Aug 11 '14 at 10:11

0 Answers0