人为什么不使用base128? [英] Why don't people use base128?
问题描述
问题是ASCII字符集的至少32个字符是可由接收终端解释的控制字符。例如,有BEL(铃声)字符使接收终端铃声。有SOT(开始传输)和EOT(传输结束)字符执行正好他们的名字所暗示的。并且不要忘记字符CR和LF,其中可以在数据结构如何序列化/平展到流中具有特殊的含义。
Adobe创建了 Base85编码以在ASCII字符集中使用更多字符,但AFAIK受到专利保护。
Why is everybody using base 64 to transmit binary data on the web? I ask that because the ASCII character set has 128 characters which in theory could represent base 128...
The problem is that at least 32 characters of the ASCII character set are 'control characters' which may be interpreted by the receiving terminal. E.g., there's the BEL (bell) character that makes the receiving terminal chime. There's the SOT (Start Of Transmission) and EOT (End Of Transmission) characters which performs exactly what their names imply. And don't forget the characters CR and LF, which may have special meanings in how data structures are serialized/flattened into a stream.
Adobe created the Base85 encoding to use more characters in the ASCII character set, but AFAIK it's protected by patents.
这篇关于人为什么不使用base128?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!