Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63474 > unrolled thread

Re: Trouble with UnicodeEncodeError and email

Started byChris Angelico <rosuav@gmail.com>
First post2014-01-09 00:26 +1100
Last post2014-01-09 00:26 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Trouble with UnicodeEncodeError and email Chris Angelico <rosuav@gmail.com> - 2014-01-09 00:26 +1100

#63474 — Re: Trouble with UnicodeEncodeError and email

FromChris Angelico <rosuav@gmail.com>
Date2014-01-09 00:26 +1100
SubjectRe: Trouble with UnicodeEncodeError and email
Message-ID<mailman.5166.1389187584.18130.python-list@python.org>
On Thu, Jan 9, 2014 at 12:14 AM, Florian Lindner <mailinglists@xgm.de> wrote:
> I've written some tiny script using Python 3 and it used to work perfectly. Then I realized it needs to run on my Debian Stable server too, which offers only Python 2. Ok, most backporting was a matter of minutes, but I'm becoming desperate on some Unicode error...

Are you sure it does? The current Debian stable is Wheezy, which comes
with a package 'python3' in the repository, which will install 3.2.3.
(The previous Debian stable, Squeeze, has 3.1.3 under the same name.)
You may need to change your shebang, but that's all you'd need to do.
Or are you unable to install new packages? If so, I strongly recommend
getting Python 3 added, as it's going to spare you a lot of Unicode
headaches.

Mind you, I compile my own Py3 for Wheezy, since I like to be on the
bleeding edge. But that's not for everyone. :)

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web