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


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

Re: [Chicago] Getting ASCII encoding where unicode wanted under Py3k

Started byCarl Karsten <carl@personnelware.com>
First post2013-05-13 12:01 -0500
Last post2013-05-13 12:01 -0500
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: [Chicago] Getting ASCII encoding where unicode wanted under Py3k Carl Karsten <carl@personnelware.com> - 2013-05-13 12:01 -0500

#45251 — Re: [Chicago] Getting ASCII encoding where unicode wanted under Py3k

FromCarl Karsten <carl@personnelware.com>
Date2013-05-13 12:01 -0500
SubjectRe: [Chicago] Getting ASCII encoding where unicode wanted under Py3k
Message-ID<mailman.1633.1368464515.3114.python-list@python.org>
On Mon, May 13, 2013 at 10:59 AM, Jonathan Hayward
<jonathan.hayward@pobox.com> wrote:

That is way too much code for me to try and dig into.

Remove everything not needed to demo it.  Replace big strings with
little strings.

My guess is it should be 1-3 lines, like

>>> print('123%(a)s' % {'a': u'\u0161' } )
123ลก

But that works.  may need a few other lines, or something.
It is also possible that there is a setting in your OS that has an effect.

What OS?

--
Carl K

[toc] | [standalone]


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


csiph-web