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 | amaury.forgeotdarc |
|---|---|
| Recipients | HWJ, amaury.forgeotdarc, benjamin.peterson |
| Date | 2008年06月24日.13:37:47 |
| SpamBayes Score | 0.0019267942 |
| Marked as misclassified | No |
| Message-id | <1214314669.02.0.290468719866.issue3187@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The original problem seems to come from some Unix platform, but this patch only handles two cases: - on win32, when the argument is a bytestring. - on OS/2. And in both cases, the default (utf-8) conversion seems wrong. Something like cp1252 (the ANSI code page for Western Windows) would be more sensible. In the posix part of the function, there is the comment (2003年03月04日): /* fall back to the original byte string, as discussed in patch #683592 */ btw, I find the penultimate message of this other thread very pleasant, in the py3k context... I suppose the conclusions would not be the same today. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月24日 13:37:49 | amaury.forgeotdarc | set | spambayes_score: 0.00192679 -> 0.0019267942 recipients: + amaury.forgeotdarc, benjamin.peterson, HWJ |
| 2008年06月24日 13:37:49 | amaury.forgeotdarc | set | spambayes_score: 0.00192679 -> 0.00192679 messageid: <1214314669.02.0.290468719866.issue3187@psf.upfronthosting.co.za> |
| 2008年06月24日 13:37:48 | amaury.forgeotdarc | link | issue3187 messages |
| 2008年06月24日 13:37:47 | amaury.forgeotdarc | create | |