什么是“ ANSI_X3.4-1968”?编码? [英] What's "ANSI_X3.4-1968" encoding?
问题描述
请参见系统上的以下输出:
See following output on my system:
[STEP 101] # python3 -c 'import sys; print(sys.stdout.encoding)'
ANSI_X3.4-1968
[STEP 102] #
[STEP 103] # locale
LANG=C
LANGUAGE=en_US:en
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
[STEP 104] #
Googled,但发现的信息很少。甚至Python的 Python库参考(v3.5.2)也没有提及它。
Googled but found very little info about it. Even Python's The Python Library Reference (v3.5.2) does not mention it. Any international standard defines it?
(是否从接受的答案中复制了权威引用:字符集)
(Copied the authoritative ref from the accepted answer's comment: Character Sets)
推荐答案
这是 USAS X3.4-1968
的另一个名称,它是 ASCII
的修订版
This is another name for USAS X3.4-1968
, a revision of ASCII
that is distinguished by being:
-
允许换行的第一个修订版(
LF
)可以单独发生(即,在回车符之前(CR
)没有出现。)
the first revision to allow a linefeed (
LF
) to occur on its own (i.e. not preceded by or followed by a carriage return (CR
)).
引入了(US-)ASCII
通用名称的修订。
the revision that introduced the common name of (US-)ASCII
.
我们认为,这基本上是 ASCII
,尽管紧随其后有两个小修改。
This is basically ASCII
as we think of it, although there were two minor revisions that followed it.
这篇关于什么是“ ANSI_X3.4-1968”?编码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!