文本编码

按照 文本 格式编码输入数据。

输入: 文本结果: 二进制字节

文本输入

运行后查看结果

案例

An accented name in UTF-8

输入

André

Expected answer

UTF-8 text · exact bytes
André
字符编码
UTF-8 (65001)
A euro sign in Windows-1252

输入

Price: 10€

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000050 72 69 63 65 3a 20 31 30 80Price: 10.
字符编码
Windows-1252 Latin (1252)
A Greek label in UTF-8

输入

Καλημέρα

Expected answer

UTF-8 text · exact bytes
Καλημέρα
字符编码
UTF-8 (65001)
A UTF-16 little-endian greeting

输入

你好

Expected answer

UTF-8 text · exact bytes
`O}Y
字符编码
UTF-16LE (1200)
A Latin-1 café label

输入

café

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000063 61 66 e9caf.
字符编码
ISO-8859-1 Latin 1 Western European (28591)
Encode text (EBCDIC): hello

输入

hello

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
0000000088 85 93 93 96.....
字符编码
IBM EBCDIC International (500)

相关工具

数据格式

操作参考

查看原始技术文档 (English)