changed encode('ascii') back to encode('utf-8')

Something about debug print causing stupid umlaut issues.  works fine if
debug is off.