[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…
--
Greetings
Pete
You can never know too little of what is not worth knowing at all.
– Anon.
- python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Andreas Röhler, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Andreas Röhler, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?,
Peter Dyballa <=
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Eli Zaretskii, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Eli Zaretskii, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Peter Dyballa, 2013/10/29
- Re: python-shell-send-region uses wrong encoding?, Ernest Adrogué, 2013/10/29
RE: python-shell-send-region uses wrong encoding?, Drew Adams, 2013/10/29