perky 03/07/06 03:30:26
Modified: tests test_encoding_euc_jp.py
Log:
*) EUC-JP codec's mapping for 0xA1C0 is changed from U+005C to
U+FF3C because EUC-JP 0x5C is also a REVERSE SOLIDUS and 0xA1C0 is
FULLWIDTH REVERSE SOLIDUS on japanese environments.
Revision Changes Path
1.4 +2 -1 cjkcodecs/tests/test_encoding_euc_jp.py
Index: test_encoding_euc_jp.py
===================================================================
RCS file: /cvsroot/koco/cjkcodecs/tests/test_encoding_euc_jp.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- test_encoding_euc_jp.py 6 Jun 2003 05:55:31 -0000 1.3
+++ test_encoding_euc_jp.py 6 Jul 2003 10:30:26 -0000 1.4
@@ -27,7 +27,7 @@
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: test_encoding_euc_jp.py,v 1.3 2003/06/06 05:55:31 perky Exp $
+# $Id: test_encoding_euc_jp.py,v 1.4 2003/07/06 10:30:26 perky Exp $
#
from test import test_support
@@ -46,6 +46,7 @@
("abc\x80\x80\xc1\xc4", "ignore", u"abc\u7956"),
("abc\x8f\x83\x83", "replace", u"abc\ufffd"),
("\xc1\x64", "strict", None),
+ ("\xa1\xc0", "strict", u"\uff3c"),
)
def test_main():
|