ddo*_*org 5 ascii utf-8 non-ascii-characters extended-ascii
我正在寻找一个包含 ASCII 字符和相同外观的 UTF8 字符的表。我知道这也取决于字体是否看起来相同,但从通用开始就足够了。
>>> # PY3 code:
>>> a='H' # ascii
>>> b='?' # utf8
>>> a==b
False
>>> ' '.join(format(ord(x), 'b') for x in a)
'1001000'
>>> ' '.join(format(ord(x), 'b') for x in b)
'10000011101'
>>> a='P' # ascii
>>> b='?' # utf8
>>> a==b
False
>>> ' '.join(format(ord(x), 'b') for x in a)
'1010000'
>>> ' '.join(format(ord(x), 'b') for x in b)
'1110100001'
Run Code Online (Sandbox Code Playgroud)
ddo*_*org 11
这是非常有用的工具,因为它会向您显示所有看起来相似的字符,您可以选择是否真的足够相似:)
https://unicode.org/cldr/utility/confusables.jsp?a=test&r=None
其他一些资源:
归档时间: |
|
查看次数: |
6735 次 |
最近记录: |