Chinese file encoding practice pack

Practise opening Chinese shipment text in six encodings: UTF-8, GBK, GB18030, Big5, UTF-16LE and UTF-16BE. Eight real files include UTF-8 with and without BOM and an extra GB18030 character test.

Keep the original bytes. Choose the encoding stated in the answer manifest, compare the decoded text with expected-text.txt, then export UTF-8. Both UTF-8 variants should display the same text. The extension test adds U+20000; use its separate expected answer. All names and addresses are fictional practice data.

The common fixture uses traditional Chinese so all six encodings can represent it; decoding does not convert script. GBK and GB18030 produce the same bytes for this fixture, so these examples cannot identify an unknown file automatically. Successful decoding alone does not prove the selected encoding is correct. The ZIP contains byte counts, SHA-256 hashes, original files and UTF-8 answers.

Open Chinese files correctly

Chinese file encoding practice pack · PDF

Practise opening Chinese shipment text in six encodings: UTF-8, GBK, GB18030, Big5, UTF-16LE and UTF-16BE. Eight real files include UTF-8 with and without BOM and an extra GB18030 character test.

English39.5 KB
PDF

Chinese file encoding practice pack · ZIP

Practise opening Chinese shipment text in six encodings: UTF-8, GBK, GB18030, Big5, UTF-16LE and UTF-16BE. Eight real files include UTF-8 with and without BOM and an extra GB18030 character test.

English4.5 KB
ZIP
Chinese file encoding practice pack

Comments

Loading…

No comments yet.