This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cfr
Recipients cfr, loewis, pitrou
Date 2008-08-13.00:34:59
SpamBayes Score 6.9728134e-09
Marked as misclassified No
Message-id <1218587717.86.0.815519887425.issue3362@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting. At least the "39" makes sense. I don't understand the
documentation well enough to know what the "79" is about.

I'm sorry but I can't work out what I should do with:

  printf("Encoding is %x\n", enc);

Am I meant to use this in python, a standard shell or something else? I
tried in a bash shell and a python interpreter (after undoing my "work
around") and both gave errors - a syntax error in the case of bash; a
complaint about printf being unrecognised in python. I also tried
"import os, sys, locale" first just in case.

  bash: syntax error near unexpected token `"Encoding is %x\n",'

(python)
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  NameError: name 'printf' is not defined

Sorry for being dumb about this.
History
Date User Action Args
2008-08-13 00:35:18cfrsetrecipients: + cfr, loewis, pitrou
2008-08-13 00:35:17cfrsetmessageid: <1218587717.86.0.815519887425.issue3362@psf.upfronthosting.co.za>
2008-08-13 00:35:01cfrlinkissue3362 messages
2008-08-13 00:34:59cfrcreate