Is there an equivalence table to convert ASCII smileys to Unicode emoji(s)?

前端 未结 4 952
难免孤独
难免孤独 2021-01-12 09:04

I would like to find a table to convert the old school western ascii emoticons :-) into their modern unicode equivalent ☺.

Do you know if there is one?

4条回答
  •  伪装坚强ぢ
    2021-01-12 09:43

    Not everyone agrees on what is what, but here is one such possible table mapping input ASCII-art emoticons to Unicode emoji. Both data elements are single quoted, so backslashes and single quotes are escaped.

    'o/'         => '

提交回复
热议问题