-
Notifications
You must be signed in to change notification settings - Fork 44
Could not deal with non-English paths #126
Comments
You have to set locale properly if the error is similar with
You can set locale with Sys.setlocale function. Note that you may not be able to load image that has non-English symbols if you are on Windows. |
Thank you for the response, here's what I get:
Still not working... Thanks |
Set LC_CTYPE, not LC_TIME.
|
Thank you. Still, this might not be the case:
|
If the filename has traditional Chinese symbols, use "cht" instead of "Chinese".
|
Thanks, still:
The file name do not have Chinese, but the path has. I've tried several packages, only |
You don't have to rename the path if magick package can read it correctly
Moreover, you can convert cimg object into magick-image object with cimg2magick function of imager package or image_read function of magick package.
|
This works well! I did not know that the two package could be linked through this way.
Thank you so much. |
When I use
load.image
, if the directory has non-English symbols, it return an error. Is there a way to make it right?The text was updated successfully, but these errors were encountered: