Select to view content in your preferred language

Error exporting files with python

2893
10
Jump to solution
07-16-2014 06:12 AM
JohannesBierer
Frequent Contributor

I wrote a python script that copies image raster files selected through a defined polygon to another folder.

It works quite well with few tiles, but with a larger amount I get the following message?

"UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 4: ordinal not in range(128)"

What does this mean?

0 Kudos
10 Replies
JohannesBierer
Frequent Contributor

Thanks all and Ellery, that was the right answer.

The problem was print row.Pfad ...

0 Kudos