[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] Mac encoding/Apple symbol
From: |
Bruno Haible |
Subject: |
Re: [bug-gnu-libiconv] Mac encoding/Apple symbol |
Date: |
Thu, 12 Sep 2019 09:58:08 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-159-generic; KDE/5.18.0; x86_64; ; ) |
Hi,
C.W. Betts wrote:
> I noticed, when using FontForge, that libiconv didn’t translate the symbol at
> code-point 0x70 (or option-shift-k on the Mac) to 0xf8ff (the Unicode value
> Apple uses to represent the Apple symbol) but to nothing (-1, or no Unicode
> code point).
>
> Looking at the source code, it looks like the first value on this line
> http://git.savannah.gnu.org/cgit/libiconv.git/tree/lib/mac_roman.h#n47 should
> be changed to 0xf8ff.
You mean tha code-point for 0xF0.
libiconv does not map this code-point because:
1) U+F8FF is a private-use code-point. I.e. it may display the Apple symbol
on some platforms but not on most others.
2) This mapping was not part of the mapping table published at unicode.org
[1].
Bruno
[1] https://www.haible.de/bruno/charsets/conversion-tables/Mac-Roman.html