
python-twitter - issue #57
examples/tweet.py doesn't document the --encodings option
What steps will reproduce the problem? 1. run "python examples/tweet.py --help" 2. See no mention of the --encoding option
What is the expected output? What do you see instead? The documentation should also show this option: --encoding : the character set encoding used in input strings, e.g. "utf-8". [optional]
What version of the product are you using? On what operating system? Svn trunk as of 2009-03-11
Please provide any additional information below.
Patch attached, which also fixes the confusing error folks get when they get encoding errors.
And note that ASCII is usually the default encoding, but it seems that that might not always be the case.
See also issue 3: http://code.google.com/p/python-twitter/issues/detail?id=3
Comment #1
Posted on Mar 24, 2009 by Massive CamelGood catch. Patch applied in r139. Marking fixed, please verify in trunk.
Comment #2
Posted on Mar 24, 2009 by Helpful LionWow - that was fast! I hadn't even finished entering the Debian bug.... Thanks.
The trunk looks good.
The only thing I wonder is if you want to include (and fix) the man pages from the Debian package for tweet (and twitter-to-xhtml)
http://ftp.de.debian.org/debian/pool/main/p/python-twitter/python-twitter_0.5-2.diff.gz
Status: Fixed
Labels:
Type-Defect
Priority-Medium