Index: LayoutTests/fast/encoding/char-encoding.html |
diff --git a/LayoutTests/fast/encoding/char-encoding.html b/LayoutTests/fast/encoding/char-encoding.html |
index bd0c552d87c681cac449549b33cfcb1ae611641e..bb34346f4a9ed2a129562b3ba3dd6703f1e93564 100644 |
--- a/LayoutTests/fast/encoding/char-encoding.html |
+++ b/LayoutTests/fast/encoding/char-encoding.html |
@@ -40,6 +40,13 @@ testEncode('GBK', 'U+1E3F', '%A8%BC'); |
testEncode('GBK', 'U+22EF', '%A1%AD'); |
testEncode('GBK', 'U+301C', '%A1%AB'); |
+// Replacement encodings - should encode as UTF-8 |
+testEncode("csiso2022kr", "U+00A0", "%C2%A0"); |
+testEncode("hz-gb-2312", "U+00A0", "%C2%A0"); |
+testEncode("iso-2022-cn", "U+00A0", "%C2%A0"); |
+testEncode("iso-2022-cn-ext", "U+00A0", "%C2%A0"); |
+testEncode("iso-2022-kr", "U+00A0", "%C2%A0"); |
+ |
// Turning on this test causes a download to occur. FIXME: A bug? |
// testEncode('UTF-8', 'U+221A', '%E2%88%9A'); |