I am attempting to use the RasterToGeodatabase_conversion to store rasters in a raster catalog stored in the File Geodatabase. However one of the directories containing the FGDB has a unicode character in it and this results in the following error.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 21: ordinal not in range(128)
Is there some setting I can enable that will allow for usage of unicode characters in FGDB paths?
Solved! Go to Solution.
Best practice is to never use characters other than the letters of the alphabet, Underscore "_" and numbers. And to NOT use a space
You will consistently have issues using Unicode characters less than "A" or greater than "z"
Your best answer is to fix the issue by correcting the name of the File Geodatabase.
Best practice is to never use characters other than the letters of the alphabet, Underscore "_" and numbers. And to NOT use a space
You will consistently have issues using Unicode characters less than "A" or greater than "z"
Your best answer is to fix the issue by correcting the name of the File Geodatabase.