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


Groups > comp.lang.python > #63503

Re: Trouble with UnicodeEncodeError and email

From Florian Lindner <mailinglists@xgm.de>
Subject Re: Trouble with UnicodeEncodeError and email
Date 2014-01-08 19:09 +0100
References <1566196.GRmDzgaeKX@horus> <CAPTjJmrSGuWXodk7bt_SFfEoM3SUDZJ06NeN5Sdt79S6Kf3WYQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5188.1389204562.18130.python-list@python.org> (permalink)

Show all headers | View raw


Am Donnerstag, 9. Januar 2014, 00:26:15 schrieb Chris Angelico:
> 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. :)

Well, I thought I had scanned to repos but obviously... I had to install BeautifulSoup and scikit-learn manually. Now some other Unicode issues have arised, but I need to sort them out first how they are connected to my mail delivery agent.

Thx a lot,

Florian

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Trouble with UnicodeEncodeError and email Florian Lindner <mailinglists@xgm.de> - 2014-01-08 19:09 +0100

csiph-web