Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Peter Pearson Newsgroups: comp.lang.python Subject: Re: Getting ASCII encoding where unicode wanted under Py3k Date: 13 May 2013 16:32:57 GMT Lines: 19 Message-ID: References: X-Trace: individual.net tTB5l/HYCocVFEJXWXmmyQc4EJ4BinzWjhQH8ftoRaQUvJSEZg Cancel-Lock: sha1:CfvByF0UYQDUWRAZ3fH2iYefXxE= User-Agent: slrn/pre1.0.0-18 (Linux) Xref: csiph.com comp.lang.python:45249 On Mon, 13 May 2013 10:59:33 -0500, Jonathan Hayward wrote: > --e89a8f3b9db145cbab04dc9b9a23 > Content-Type: text/plain; charset=windows-1252 > Content-Transfer-Encoding: quoted-printable > [snipped many lines of quoted-printable muck] > My code is below. What should I be doing differently to be, in the most > immediate sense, calls to '''%(foo)s''' % locals()? [snipped about 200 lines of code, presented in quoted-printable] You will greatly increase your odds of getting a useful response if you post the shortest possible program that exhibits your problem. Posting it as plain text would help, too. -- To email me, substitute nowhere->spamcop, invalid->net.