Import Toolbox Problem with "umlaute"

Discussion created by wei_ler on Jan 14, 2011
Latest reply on Jan 17, 2011 by wei_ler

i would like to Import a Toolbox into my Python Script to use some of the functions from the Toolbox. The Problem is that I get the following error-message:

<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xfc' in position 9: ordinal not in range(128)

I gues the reason is, that some of the functions in the called Toolbox uses "Umlaute" in the naming. I tried to set the coding like this in my python script:

# -*- coding: iso-8859-15 -*-

but nothing changed. Does someone knows a way to Import a Toolbox in Python with "Umlaute"?

Tanks for helping.