[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python-shell-send-region uses wrong encoding?

From: Peter Dyballa
Subject: Re: python-shell-send-region uses wrong encoding?
Date: Tue, 29 Oct 2013 16:34:45 +0100

Am 29.10.2013 um 15:55 schrieb Ernest Adrogué:

> Here it's different, print(b) prints `Wörterbuch' (C-c C-r) and
> `Wörterbuch' (C-c C-c).

This obviously happens in an 8-bit environment. `Wörterbuch' is the sequence 
of octets that represent the ISO Latin-x (or ISO 8859) encoded word 
`Wörterbuch' in UTF-8 encoding. Here the "ö" is encoded as two octets: 0xC3 
0xB6. The first one is in ISO 8859-15 the character "Ä" and the latter is in 
that encoding the character "¶".

So it seems that one functions prints exclusively in UTF-8…



You can never know too little of what is not worth knowing at all.
                        – Anon.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]