|
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)
[Prev in Thread] | Current Thread | [Next in Thread] |