Re: [w3c/payment-request] validate PaymentCurrencyAmount.currency (closes #490) (#567)

marcoscaceres commented on this pull request.



> -          <a>currency</a> can be any string that is valid within the currency
-          system indicated by <a>currencySystem</a>.
+          <p>
+            A string containing a currency identifier. The value of
+            <a>currency</a> can be any string that is valid within the currency
+            system indicated by <a>currencySystem</a>.
+          </p>
+          <p>
+            When using [[!ISO4217]], all <a data-cite=
+            "!ecma-402#sec-iswellformedcurrencycode">well-formed</a> 3-letter
+            currency codes are allowed. 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 us the [[!ISO4217]] currency code SHOULD be used
+            for formatting.

Woops... this unhelpful anyway. I did some research, and what we actually want here is "SHOULD use U+00A4 (¤)" - which is the the generic currency sign: https://en.wikipedia.org/wiki/Currency_sign_(typography) 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/pull/567#discussion_r130521760

Received on Tuesday, 1 August 2017 05:24:29 UTC