[New-bugs-announce] [issue4425] UTF7 encoding of slash (character 47) is incorrect

Nick Barnes report at bugs.python.org
Tue Nov 25 12:03:53 CET 2008


New submission from Nick Barnes <Nick.Barnes at pobox.com>:

'/'.encode('utf7') returns '+AC8-'.  It should return '/'.  See RFC 2152.

'/'.decode('utf7') raises an exception (this is a special case of a
general problem with UTF-7 decoding, which I will report as a separate bug).

----------
components: Unicode
messages: 76404
nosy: Nick Barnes
severity: normal
status: open
title: UTF7 encoding of slash (character 47) is incorrect
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4425>
_______________________________________


More information about the New-bugs-announce mailing list