Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63474
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.059 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; '3.1.3': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'thu,': 0.19; 'written': 0.21; '(the': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'unicode': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'strongly': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; 'becoming': 0.31; 'run': 0.32; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'everyone.': 0.36; 'minutes,': 0.36; 'so,': 0.37; 'server': 0.38; 'stable': 0.38; 'previous': 0.38; 'sure': 0.39; 'unable': 0.39; 'most': 0.60; 'new': 0.61; 'matter': 0.61; 'realized': 0.68; 'desperate': 0.84; 'does?': 0.84; 'florian': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=T1cdaguy1DZtHeVV/p368Zxq//99K/ixhNhMzv2IX+E=; b=C+yzeplk/+oze6NoLorvJ+81agpM0MbzAyk8WAahL7C0Cf41BkYr44v/gdke57JLys Zw9usGAxyNOxsZ3sgGLSBXy8BOLANbNBa3XnM4moUB0C1m3xurfIcQQ1yvuLe1C4Ps8w uQLvEVDTS8E0gowAEb4AeUquQCOuLxiW7ixZSCG0cIC14hOsYH+w6vWWwCXe9xqPHdRE 4XwEScsmdA+dogSUj7azR+u0WUnK7g76LBFNFjfN5NoAgRwt92oLNMjg/ebpgjPT+/ln xodcxAsRt7cR8CZhiHl7tKIMXvhapJDw8X3qvKAslD/6zmFmIrbuUP5f5weg0VjaaX58 O4/g== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.133.6 with SMTP id oy6mr22823929pbb.153.1389187575375; Wed, 08 Jan 2014 05:26:15 -0800 (PST) |
| In-Reply-To | <1566196.GRmDzgaeKX@horus> |
| References | <1566196.GRmDzgaeKX@horus> |
| Date | Thu, 9 Jan 2014 00:26:15 +1100 |
| Subject | Re: Trouble with UnicodeEncodeError and email |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5166.1389187584.18130.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1389187584 news.xs4all.nl 2866 [2001:888:2000:d::a6]:53521 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63474 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Trouble with UnicodeEncodeError and email Chris Angelico <rosuav@gmail.com> - 2014-01-09 00:26 +1100
csiph-web