Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Side by Side Diff: LayoutTests/fast/encoding/char-encoding-expected.txt

Issue 23601010: Make UTF-8 encoding of unpaired surrogates match Encoding standard (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased test results Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/encoding/char-encoding.html ('k') | Source/wtf/text/TextCodecUTF8.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This tests encoding characters in various character sets. 1 This tests encoding characters in various character sets.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS encode('UTF-8', 'U+00A0') is '%C2%A0' 6 PASS encode('UTF-8', 'U+00A0') is '%C2%A0'
7 PASS encode('UTF-8', '0xD800') is '%EF%BF%BD'
8 PASS encode('UTF-8', '0xDC00') is '%EF%BF%BD'
7 PASS encode('GBK', 'U+00A5') is '%A3%A4' 9 PASS encode('GBK', 'U+00A5') is '%A3%A4'
8 PASS encode('gb2312', 'U+00A5') is '%A3%A4' 10 PASS encode('gb2312', 'U+00A5') is '%A3%A4'
9 PASS encode('GB_2312-80', 'U+00A5') is '%A3%A4' 11 PASS encode('GB_2312-80', 'U+00A5') is '%A3%A4'
10 PASS encode('EUC-CN', 'U+00A5') is '%A3%A4' 12 PASS encode('EUC-CN', 'U+00A5') is '%A3%A4'
11 PASS encode('GBK', 'U+20AC') is '%80' 13 PASS encode('GBK', 'U+20AC') is '%80'
12 PASS encode('gb2312', 'U+20AC') is '%80' 14 PASS encode('gb2312', 'U+20AC') is '%80'
13 PASS encode('GB_2312-80', 'U+20AC') is '%80' 15 PASS encode('GB_2312-80', 'U+20AC') is '%80'
14 PASS encode('EUC-CN', 'U+20AC') is '%80' 16 PASS encode('EUC-CN', 'U+20AC') is '%80'
15 PASS encode('GBK', 'U+01F9') is '%A8%BF' 17 PASS encode('GBK', 'U+01F9') is '%A8%BF'
16 PASS encode('GBK', 'U+1E3F') is '%A8%BC' 18 PASS encode('GBK', 'U+1E3F') is '%A8%BC'
17 PASS encode('GBK', 'U+22EF') is '%A1%AD' 19 PASS encode('GBK', 'U+22EF') is '%A1%AD'
18 PASS encode('GBK', 'U+301C') is '%A1%AB' 20 PASS encode('GBK', 'U+301C') is '%A1%AB'
19 PASS successfullyParsed is true 21 PASS successfullyParsed is true
20 22
21 TEST COMPLETE 23 TEST COMPLETE
22 24
OLDNEW
« no previous file with comments | « LayoutTests/fast/encoding/char-encoding.html ('k') | Source/wtf/text/TextCodecUTF8.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698