Bitcoin symbol: Difference between revisions
Kenshirriff (talk | contribs) Add information on Unicode support. |
Kenshirriff (talk | contribs) fix typo |
||
Line 3: | Line 3: | ||
The Bitcoin sign is part of Unicode 10.0 (released June 2017)<ref>http://www.unicode.org/versions/Unicode10.0.0/</ref> with code point U+20BF (₿). As of June 2017, font support for the Bitcoin sign is in macOS Sierra, iOS, Android O [https://developer.android.com/preview/download.html beta], Windows 10 [https://support.microsoft.com/en-us/instantanswers/d4efb316-79f0-1aa1-9ef3-dcada78f3fa0/get-the-windows-10-creators-update Creators Update] and several Linux releases. The Bitcoin sign was accepted for Unicode in November 2015<ref>https://twitter.com/ken_lunde/status/661351862155669506</ref> and completed the Unicode process in 2017. | The Bitcoin sign is part of Unicode 10.0 (released June 2017)<ref>http://www.unicode.org/versions/Unicode10.0.0/</ref> with code point U+20BF (₿). As of June 2017, font support for the Bitcoin sign is in macOS Sierra, iOS, Android O [https://developer.android.com/preview/download.html beta], Windows 10 [https://support.microsoft.com/en-us/instantanswers/d4efb316-79f0-1aa1-9ef3-dcada78f3fa0/get-the-windows-10-creators-update Creators Update] and several Linux releases. The Bitcoin sign was accepted for Unicode in November 2015<ref>https://twitter.com/ken_lunde/status/661351862155669506</ref> and completed the Unicode process in 2017. | ||
Historically, similar looking Unicode symbols such as the | Historically, similar looking Unicode symbols such as the Thai Baht (฿) have been used because the Unicode standard at the time had not included a symbol for Bitcoin. | ||
== Currency code == | == Currency code == |
Revision as of 01:49, 22 June 2017
By far the most commonly used symbol for Bitcoin is ₿, a capital letter B with two vertical lines "going through" it, though the lines are only visible at the top and bottom. This symbol was created by Satoshi Nakamoto for the icon of an early version of the original Bitcoin client, though the very first versions of the Bitcoin client used "BC" instead of any special symbol. Presumably the symbol was intended to look similar to other currency symbols. The symbol represents the currency unit "bitcoin" (100 million satoshi), as well as the Bitcoin network and currency itself. The bitcoin currency unit is also commonly given the informal currency code BTC.
The Bitcoin sign is part of Unicode 10.0 (released June 2017)[1] with code point U+20BF (₿). As of June 2017, font support for the Bitcoin sign is in macOS Sierra, iOS, Android O beta, Windows 10 Creators Update and several Linux releases. The Bitcoin sign was accepted for Unicode in November 2015[2] and completed the Unicode process in 2017.
Historically, similar looking Unicode symbols such as the Thai Baht (฿) have been used because the Unicode standard at the time had not included a symbol for Bitcoin.
Currency code
The ISO 4217 currency code for Bitcoin is XBT. However, at the moment it is an unofficial code according to the ISO 4217 standard. The unit name BTC is also commonly used to represent one bitcoin, but it violates ISO 4217 because it begins with "BT", the country code of Bhutan. Bhutan does not actually use the code BTC for any currency, and XBT has not yet defined which unit it represents (just that it represents some unit of bitcoin), so the Bitcoin community is likely to continue using mainly BTC as a unit name and currency code for some time.
A formal application by the Financial Standards Working Group of the Bitcoin Foundation is nearing completion [still true?]. This application would request ISO 4217 standard to support XBT.
Inserting the symbol
In lieu of the Bitcoin symbol being included in the Unicode standard and its adoption into typographic fonts, ₿ can be included in many documents by other means. This section focuses on online publications but the basic concepts apply to all publishing forms.
A package including a high resolution raster image with transparency (PNG), vector image (SVG) and TrueType font (TTF) is available[3]
Image
The Bitcoin symbol can be inserted as an image, as is done in the opening sentence of this page. The benefit of this method is that any client that can display images in line with text will be able to display the symbol. The down side to this method is that as an image, it does not always degrade as nicely as a font. If using raster image, scaling the image up/down (to fit with surrounding text) may result in pixelation, inappropriate filtering, and other issues typical of raster images. If using a vector image, scaling concerns do not apply but the display would still not benefit from font-specific rendering features such as hinting. Both forms also suffer from client-specific considerations such as whether or not a box will be drawn around the image and the general inability to easily style its display; applying color requires specific CSS, and italicizing would require a CSS skew transform, for example.
When using an image in running text on a webpage it's generally a good idea to set the alt property to an appropriate value. For example, when depicting amounts you might use alt="BTC". Text including the symbol copied and pasted will then remain syntactically correct, replacing the symbol with BTC.
Sample HTML code:
.btc { height:1em; position:relative; top:0.17em; cursor:text; } ... Please send <img src="btc-sans.png" alt="BTC" class="btc" />0.01 to ... Please send <img src="btc-sans.svg" alt="BTC" class="btc" />0.01 to ...
Font Awesome icon
The Font Awesome collection of icons and symbols also includes the Bitcoin symbol.[4]
Sample HTML code:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> ... Please send <i class="fa fa-btc"></i>0.01 to ...
Font
As few fonts include the Bitcoin symbol, a special font was created by User:Theymos, originally for the BitcoinTalk forum[5]. The font consists of only the Bitcoin symbol used in the glyph for the capital letter B. The text "BTC" can be entered and styled with this font, causing it to be replaced entirely with just the symbol on those systems that support this font, while on other systems the text "BTC" is retained. Similarly, copying and pasting text will still retain "BTC". This method is used on BitcoinTalk and this Bitcoin Wiki.
Sample HTML code:
@font-face { font-family: BTC; src: url(BTC.ttf); } ... Please send <span style="font-family:BTC, sans-serif">BTC</span>0.01 to ...