dimanche 8 février 2015

mount command can not contain Chinese characters


I encounter a problem,


I want to mount a shared remote directory, but the url has Chinese characters.


mount_smbfs //user:password@192.168.1.168/图片 /Volumes/picture


图片are Chinese characters, which mean picture in English.


When I execute this command, I get below error:

mount_smbfs: URL parsing failed, please correct the URL and try again: Invalid argument 16384


I can confirm it is caused by the Chinese character, because I can execute below command: mount_smbfs //user:password@192.168.1.168/hehe /Volumes/picture


Both hehe and 图片 are remote shared directories.





Aucun commentaire:

Enregistrer un commentaire