[PATCH] Add Phillipines peso symbol to translit_neutral
Mike Frysinger
vapier@gentoo.org
Sat Apr 23 20:54:00 GMT 2016
On 23 Apr 2016 22:15, Florian Weimer wrote:
> * Mike Frysinger:
> >> Is this the correct transliteration? It is not listed in Unicode.
> >
> > it is, the same as £ & ¥ -- just use the currency code in place of the
> > symbol. where in the standard are you finding the definition for the
> > translit_neutral file ?
>
> Unicode sometimes give transliterations, but not in this case. I
> assume because the correct transliteration is locale-dependent. If
> you translate to the currency code, there are multiple choices for ¥
> (for Japanese Yen and Chinese Yuan) and perhaps ₱ (as this was used in
> other countries, not just the Philippines). £ may also have been used
> for Italian Lire.
but we've made a choice already for ¥ & £ in this file:
% POUND SIGN
<U00A3> "<U0047><U0042><U0050>"
% YEN SIGN
<U00A5> "<U004A><U0050><U0059>"
Unicode has given a diff codepoint for the Lira: <U20A4>. although they
did use £ in the past, and people might still (since it's more common on
keyboards).
you're right that the Yen-vs-Renminbi is not unambiguous, and considering
the way the Unicode consortium has treated CJK in the past (just see the
misguided "Han Unification" strategy), i don't expect this to change. we
can pick an obvious "winner" for some locales (like zh_* & ja_*), but what
about common ones like en_US ? do we leave ¥ unmapped ?
while you're right that other countries have used "the peso", have any
used the ₱ symbol ? mexico for instance has used $ instead.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160423/d9d4f93a/attachment.sig>
More information about the Libc-alpha
mailing list