-
Notifications
You must be signed in to change notification settings - Fork 66
deploy content fails with non-ASCII file names on Windows #256
Comments
Interestingly, the error message is talking about an empty string. Wondering whether this is a client or a server-side issue. Client-side sounds more likely I guess.. |
I get a different message, but not unlikely same cause. On mac filename is uploaded as:
On Windows though it is sent as:
Sounds like an encoding issue. @paxtonhare do you know a trick to adjust encoding of a string to UTF-8 before applying uri encoding? |
path.encode("UTF-8") seems to do the trick.. |
I just came across the same problem with my US English Windows 10 when attempting to load files with Japanese Kanji in the filename. Solution:
|
@hunterwilliams, thanks for providing the info |
Hunter suggests it might be worthwhile to add these notes in the Wiki somewhere. Maybe create a page dedicated to Windows issues? |
Fixed #256: applied explicit UTF-8 encoding on file paths for Windows
Fixed in dev. Leaving open for the wiki edits.. |
Wiki section added: https://github.com/marklogic/roxy/wiki/Troubleshooting#windows-issues Closing issue |
With file "EntitéGénérique.xml" in my data directory, I get the following error. Paxton tested on Mac and did not get an error.
The text was updated successfully, but these errors were encountered: