Hearts in Unicode: Difference between revisions

Content deleted Content added
Encoding: transplant from main article
Line 38:
== Encoding ==
 
A common [[emoticon]] for the heart is <3. In [[Unicode]] several heart symbols are available in text format:
 
{| class="wikitable" style="text-align:center;"
|-
! Glyph
! Description
! [[HTML]] code
! [[Alt code]]s
|-
| {{resize|200%| ❦ }}
| U+2766 FLORAL HEART
| <code>&amp;#x2766;</code>
|
|-
| {{resize|200%| ❧ }}
| U+2767 ROTATED FLORAL HEART BULLET
| <code>&amp;#x2767;</code>
|
|-
| {{resize|200%| ☙ }}
| U+2619 REVERSED ROTATED FLORAL HEART BULLET
| <code>&amp;#x2619;</code>
|
|-
| {{resize|200%| ♡ }}
| U+2661 WHITE HEART SUIT
| <code>&amp;#x2661;</code> or <code>&amp;#9825;</code>
|
|-
| {{resize|200%|♥}}
| U+2665 BLACK [[Hearts (suit)|HEART SUIT]] in device default representation
| <code>&amp;#x2665;</code> or <code>&amp;#9829;</code> or <code>&amp;hearts;</code>
| Alt + 3
 
|-
| {{resize|200%| ♥︎}}
| U+2665 BLACK [[Hearts (suit)|HEART SUIT]] in explicit plaintext representation
| <code>&amp;#x2665;&amp;#xfe0e;</code>
|
|-
| {{resize|200%| ♥️}}
| U+2665 BLACK [[Hearts (suit)|HEART SUIT]] in explicit emoji representation
| <code>&amp;#x2665;&amp;#xfe0f;</code>
|
|-
| {{resize|200%| ❤ }}
| U+2764 HEAVY BLACK HEART in device default representation
| <code>&amp;#x2764;</code> or <code>&amp;#10084;</code>
|
|-
| {{resize|200%| ❤︎}}
| U+2764 HEAVY BLACK HEART in explicit plaintext representation
| <code>&amp;#x2764;&amp;#xfe0e;</code>
|
|-
| {{resize|200%| ❤️}}
| U+2764 HEAVY BLACK HEART in explicit emoji representation
| <code>&amp;#x2764;&amp;#xfe0f;</code>
|
|-
| {{resize|200%| ❥ }}
| U+2765 ROTATED HEAVY BLACK HEART BULLET
| <code>&amp;#x2765;</code> or <code>&amp;#10085;</code>
|
|-
| {{resize|200%| ❣ }}
| U+2763 HEAVY HEART EXCLAMATION MARK ORNAMENT
| <code>&amp;#x2763;</code> or <code>&amp;#10083;</code>
|
|}
 
And from the [[Miscellaneous Symbols and Pictographs]] and [[Supplemental Symbols and Pictographs]] ranges associated with [[emoji]]:
 
{|
|- style="vertical-align:top;"
|<!-- left part -->
{| class="wikitable" style="text-align:center;"
|-
! Glyph
! Description
! [[HTML]] code
|-
| {{resize|200%| 🎔 }}
| U+1F394 HEART WITH TIP ON THE LEFT
| <code>&amp;#x1f394;</code>
|-
| {{resize|200%| 💑 }}
| U+1F491 COUPLE WITH HEART
| <code>&amp;#x1f491;</code>
|-
| {{resize|200%| 💒 }}
| U+1F492 WEDDING
| <code>&amp;#x1f492;</code>
|-
| {{resize|200%| 💓 }}
| U+1F493 BEATING HEART
| <code>&amp;#x1f493;</code>
|-
| {{resize|200%| 💔 }}
| U+1F494 BROKEN HEART
| <code>&amp;#x1f494;</code>
|-
| {{resize|200%| 💕 }}
| U+1F495 TWO HEARTS
| <code>&amp;#x1f495;</code>
|-
| {{resize|200%| 💖 }}
| U+1F496 SPARKLING HEART
| <code>&amp;#x1f496;</code>
|-
| {{resize|200%| 💗 }}
| U+1F497 GROWING HEART
| <code>&amp;#x1f497;</code>
|-
| {{resize|200%| 💘 }}
| U+1F498 HEART WITH ARROW
| <code>&amp;#x1f498;</code>
|-
| {{resize|200%| 💙 }}
| U+1F499 BLUE HEART
| <code>&amp;#x1f499;</code>
|-
| {{resize|200%| 💚 }}
| U+1F49A GREEN HEART
| <code>&amp;#x1f49a;</code>
|-
| {{resize|200%| 💛 }}
| U+1F49B YELLOW HEART
| <code>&amp;#x1f49b;</code>
|}
<!-- left part end -->
 
|<!-- right part -->
{| class="wikitable" style="text-align:center;"
|-
! Glyph
! Description
! HTML code
|-
| {{resize|200%| 💜 }}
| U+1F49C PURPLE HEART
| <code>&amp;#x1f49c;</code>
|-
| {{resize|200%| 💝 }}
| U+1F49D HEART WITH RIBBON
| <code>&amp;#x1f49d;</code>
|-
| {{resize|200%| 💞 }}
| U+1F49E REVOLVING HEARTS
| <code>&amp;#x1f49e;</code>
|-
| {{resize|200%| 💟 }}
| U+1F49F HEART DECORATION
| <code>&amp;#x1f49f;</code>
|-
| {{resize|200%| 🖤 }}
| U+1F5A4 BLACK HEART
| <code>&amp;#x1f5a4;</code>
|-
| {{resize|200%| 🤍 }}
| U+1F90D WHITE HEART
| <code>&amp;#x1f90d;</code>
|-
| {{resize|200%| 🤎 }}
| U+1F90E BROWN HEART
| <code>&amp;#x1f90e;</code>
|-
| {{resize|200%| 🧡 }}
| U+1F9E1 ORANGE HEART
| <code>&amp;#x1f9e1;</code>
|-
| {{resize|200%| 🩵 }}
| U+1FA75 LIGHT BLUE HEART
| <code>&amp;#x1fa75;</code>
|-
| {{resize|200%| 🩶 }}
| U+1FA76 GREY HEART
| <code>&amp;#x1fa76;</code>
|-
| {{resize|200%| 🩷 }}
| U+1FA77 PINK HEART
| <code>&amp;#x1fa77;</code>
 
|}
<!-- right part end -->
|}
 
In [[Code page 437]], the original character set of the IBM PC, the value of 3 (hexadecimal 03) represents the heart symbol. This value is shared with the non-printing [[End-of-text character|ETX]] control character, which overrides the glyph in many contexts.
<!--
[[Unicode]] provides various heart symbols:<ref>{{cite web
|title = Heart symbol
Line 62 ⟶ 251:
* {{unichar|1F5A4|BLACK HEART}}
* {{unichar|1FAF6|HEART HANDS}}
-->
 
== References ==