Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: use unicode name/code for currencies in note #942

Merged
merged 9 commits into from
Mar 18, 2021
26 changes: 19 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1677,9 +1677,19 @@ <h2>
alphabetic code (i.e., the numeric codes are not supported). Their
canonical form is upper case. However, the set of combinations of
currency code for which localized currency symbols are available is
implementation dependent. Where a localized currency symbol is not
available, a user agent SHOULD use U+00A4 (¤) for formatting. User
agents MAY format the display of the
implementation dependent.
</p>
<p>
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
Currency symbols can be ambiguous due to use across a number of
different currencies (e.g., "$" could mean any of USD, AUD, NZD,
CAD, and so on.). When displaying a monetary value, it is
RECOMMENDED that user agents display the currency code.
</p>
<p>
Further, when displaying a monetary value, it is OPTIONAL for user
agents to display currency symbols. User agent that display
currency symbols MAY use U+00A4 (¤) when a currency symbol is not
available. User agents MAY format the display of the
{{PaymentCurrencyAmount/currency}} member to adhere to OS
conventions (e.g., for localization purposes).
</p>
Expand All @@ -1699,10 +1709,12 @@ <h2>
[[ISO4217]] list (e.g., XBT, XRP, etc.). If the provided code is
a currency that the browser knows how to display, then an
implementation will generally display the appropriate currency
symbol in the user interface (e.g., "USD" is shown as "$", "GBP"
is "£", and the non-standard "XBT" could be shown as "Ƀ"). When a
code cannot be matched, the specification recommends browsers
show a scarab "¤".
symbol in the user interface (e.g., "USD" is shown as U+0024
Dollar Sign ($), "GBP" is U+00A3 Pound Sign (£), and the
non-standard "XBT" could be shown as U+0243 Latin Capital Letter
B with Stroke (Ƀ)). When a code cannot be matched, the
specification recommends browsers show a U+00A4 Currency Sign
(¤).
</p>
<p>
Efforts are underway at ISO to account for digital currencies,
Expand Down