bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnu-libiconv] Re: add and version


From: jake
Subject: [bug-gnu-libiconv] Re: add and version
Date: Wed, 30 Jul 2008 12:26:26 -0400 (EDT)

However, when I do src/iconv_no_i18n -l, I don't see my addition in
the listing, likewise using "iconvlist()" from within a C program.
and naturally iconv_open/iconv crashes when using this mapping

Did you do a "make -f Makefile.devel", to regenerate the aliases*.h files?
That should fix it.

That did it! Thank you.

static const unsigned short cp1252full_2uni[32] = {
   /* 0x80 */
   0x20ac, 0xfb01, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021,
   0x02c6, 0x2030, 0x0160, 0x2039, 0x0152, 0xfb02, 0x017d, 0x2260,
   /* 0x90 */
   0x221e, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014,
   0x02dc, 0x2122, 0x0161, 0x203a, 0x0153, 0xf8ff, 0x017e, 0x0178,
};

Just curious: Where did you get this mapping table from? It's not among the
variants of CP1252 that I list at
 http://www.haible.de/bruno/charsets/conversion-tables/CP1252.html

Thisvariant is one that we use internally, I updated
ftp://ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT
with the relevant additional mappings and generated it with"8bit_tab_to_h"

Jake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]