|
From: | Peter Dyballa |
Subject: | Re: python-mode, c-c c-c and unicode in output buffer |
Date: | Sat, 24 Oct 2009 17:33:13 +0200 |
Am 24.10.2009 um 15:56 schrieb sandro dentella:
Traceback (most recent call last): File "<stdin>", line 2, in <module> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 0: ordinal not in range(128)
This comes from Python!The reason is that you are *not* creating an UTF-8 encoded file, which you can notice from the message "character u'\xe8'" which means some 8-bit value, i.e., not Unicode. To achieve UTF-8 encoding you need to update the first line to real ELisp:
# coding: utf-8; The final delimiter is needed, I think... -- Greetings Pete A morning without coffee is like something without something else.
[Prev in Thread] | Current Thread | [Next in Thread] |