Ejemplos
Decode a Windows-1252 euro price
Compare the named encoding with the known original text; readable candidates alone do not identify an encoding.
Entrada
7 bytes
DescargarExpected checks
Selected JSON fieldsWindows-1252 Latin (1252): "€ 12.50"- Modo
Decode
Read UTF-16 little-endian text containing zero bytes
Compare the named encoding with the known original text; readable candidates alone do not identify an encoding.
Entrada
12 bytes
DescargarExpected checks
Selected JSON fieldsUTF-16LE (1200): "Hello!"- Modo
Decode
Read UTF-16 big-endian text without guessing from ASCII
Compare the named encoding with the known original text; readable candidates alone do not identify an encoding.
Entrada
16 bytes
DescargarExpected checks
Selected JSON fieldsUTF-16BE (1201): "Route 66"- Modo
Decode
Read the Japanese station name 東京 from Shift-JIS
Compare the named encoding with the known original text; readable candidates alone do not identify an encoding.
Entrada
4 bytes
DescargarExpected checks
Selected JSON fieldsJapanese Shift-JIS (932): "東京"- Modo
Decode
Recover café from its five UTF-8 bytes
Compare the named encoding with the known original text; readable candidates alone do not identify an encoding.
Entrada
5 bytes
DescargarExpected checks
Selected JSON fieldsUTF-8 (65001): "café"- Modo
Decode
Decode
Reproduce this published regression case and compare the exact result. Text Encoding Brute Force - Decode.
Entrada
25 bytes
DescargarExpected checks
Matches /Windows-1251 Cyrillic \(1251\).{1,10}Булкі праз ляніва сабаку\./- Modo
Decode
Encode
Entrada
Булкі праз ляніва сабаку.Expected checks
Matches /Windows-1251 Cyrillic \(1251\).{1,10}Булкі праз ляніва сабаку\./- Modo
Encode