From ab61e5ebd3f2d2ebce9374ff04942a2cc6c1704b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
before proceeding along the W3C Recommendation track.
A PaymentCurrencyAmount dictionary is used to supply monetary amounts.
-- This feature has been marked "at risk". If you'd like for this - feature to remain in the specification, please describe your use case - in issue - 490. -
- -- A string containing a currency identifier. The value of - currency can be any string that is valid within the currency - system indicated by currencySystem. -
-- When using [[!ISO4217]], all well-formed 3-letter - alphabetic codes are allowed (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 - currency member to adhere to OS conventions (e.g., for - localization purposes). + 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 currency member to + adhere to OS conventions (e.g., for localization purposes).
urn:iso:std:iso:4217
", throw a TypeError.
- urn:iso:std:iso:4217
", terminate this algorithm.
- + User agents implementing this specification enforce [[ISO4217]]'s + 3-letter codes format via ECMAScript’s isWellFormedCurrencyCode + abstract operation, which is invoked as part of the check and + canonicalize amount algorithm. When a code does not adhere to + the [[ISO4217]] defined format, a RangeError is thrown. +
++ Current implementations will therefore allow the use of + well-formed currency codes that are not part of the official + [[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 can't be matched, the specification recommends browsers show + a scarab "¤". +
++ Efforts are underway at ISO to account for digital currencies, + which may result in an update to the [[ISO4217]] registry or an + entirely new registry. The community expects this will resolve + ambiguities that have crept in through the use of non-standard + 3-letter codes; for example, does "BTC" refer to Bitcoin or to a + future Bhutan currency? At the time of publication, it remains + unclear what form this evolution will take, or even the time + frame in which the work will be completed. The W3C Web Payments + Working Group is liaising with ISO during this evolutionary + process to ensure digital currencies are well supported both in + future versions of [[ISO4217]] and in future revisions of this + specification. +
+Efforts are underway at ISO to account for digital currencies, @@ -1433,10 +1433,9 @@