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: Andreas Röhler
Subject: Re: python-shell-send-region uses wrong encoding?
Date: Tue, 29 Oct 2013 15:26:18 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

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)



reply via email to

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