是否有一个看起来像“键"的 Unicode 字形?图标? [英] Is there a Unicode glyph that looks like a "key" icon?
问题描述
Unicode 有一百万个类似图标的字形,但它们并不总是很容易搜索,因为我并不总是知道它们的样子.
Unicode has a million icon-like glyphs, but they're not always easy to search by, since I don't always know what they look like.
是否有一个看起来像钥匙"的 Unicode 字形?或者是否有一个符号在数据库圆圈中用来表示主键",在 Unicode 中是?
Is there a Unicode glyph that looks like a "key"? Or is there a symbol that's used in database circles to mean "primary key", which is in Unicode?
推荐答案
我用了一个小的 Python 3 脚本来查看,我找到的最接近的在我这里没有显示(在我的机器上的 Idle 中显示),但是它是:
I used a little Python 3 script to look, and the closest I found does not display here for me (does display in Idle on my machine), but it is:
9897 ⚩ HORIZONTAL MALE WITH STROKE SIGN
(看起来像一个指向右侧的男性标志,在箭头和圆圈之间添加了一个垂直的笔划)
(Looks like a male sign pointed right with a perpendicular stroke added between the arrow and circle)
我使用 Python 的 unicodedata 模块在 unicode 名称中搜索了各种匹配项,例如KEY"和LOCK",但没有找到.
I searched for various matches like "KEY" and "LOCK" in the unicode names using Python's unicodedata module and no luck there.
编辑添加 - 啊哈 - 一个看起来更像钥匙的:
Editing to add - Ah hah - one that looks even more like a key:
9911 ⚷ CHIRON
我以十进制给出了上述两个代码点.要查看它们及其十六进制代码,请转到此链接:
I give both of the above code points in decimal. To see them and their hex codes, go to this link:
http://www.unicode.org/charts/PDF/U2600.pdf
特别是凯龙星的 26B7.
See 26B7 in particular for the Chiron.
这篇关于是否有一个看起来像“键"的 Unicode 字形?图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!