help-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Ernest Adrogué
Subject: Re: python-shell-send-region uses wrong encoding?
Date: Tue, 29 Oct 2013 15:55:54 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

29-10-2013, 15:26 (+0100); Andreas Röhler escriu:
> Am 29.10.2013 12:30, schrieb Ernest Adrogué:
> >#!/usr/bin/env python
> ># -*- coding: utf-8 -*-
> >
> >from __future__ import print_function
> >
> >a = 'Wörterbuch'.decode('utf8')
> >b = u'Wörterbuch'
> >
> >print(repr(a))
> >print(repr(b))
> 
> Works here without the `repr':
> 
> print(a)
> print(b)

Do you get the same result with C-c C-c as with C-c C-r?

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

Something is wrong.



reply via email to

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