lackrp
V2EX  ›  问与答

请教,如何查询特殊字符的Unicode编码?

  •  
  •   lackrp · May 7, 2012 · 5713 views
    This topic created in 5147 days ago, the information mentioned may be changed or developed.
    比如,我想知道▲和▼的Unicode编码是多少,多谢
    6 replies    1970-01-01 08:00:00 +08:00
    chenluois
        1
    chenluois  
       May 7, 2012   ❤️ 1
    eerie
        2
    eerie  
       May 7, 2012   ❤️ 1
    >>> a = u'▼'
    >>> a
    u'\u25bc'
    >>>
    lianghai
        3
    lianghai  
       May 7, 2012   ❤️ 1
    lackrp
        4
    lackrp  
    OP
       May 7, 2012
    多谢 @chenluois @eerie @lianghai :)
    keakon
        5
    keakon  
       May 7, 2012   ❤️ 1
    js:
    > '▼'.charCodeAt(0).toString(16)
    "25bc"
    jjgod
        6
    jjgod  
       May 7, 2012
    Mac 下推荐 UnicodeChecker。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5319 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 03:49 · PVG 11:49 · LAX 20:49 · JFK 23:49
    ♥ Do have faith in what you're doing.