[Grok-dev] Re: Understanding unicode

Philipp von Weitershausen philipp at weitershausen.de
Fri Aug 31 16:28:23 EDT 2007

On 31 Aug 2007, at 22:25 , Sebastian Ware wrote:
> Just a thought. Did you change the actual character encoding used  
> by the editor to unicode? If the file isn't saved with the right  
> character encoding that could explain your problem.

That's a good point, however Jan Ulrich's exception is talking about  
'ascii' codec. When I save a file in latin-1 and use the utf-8  
header, I get:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position  
0: unexpected end of data

More information about the Grok-dev mailing list