Gentoo Archives: gentoo-user

From: "Michael [Plouj] Ploujnikov" <ploujj@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Fwd: FontForge needs conversion from ISO-8859-1 to UCS2 - iconv (glibc-2.3.5-r2) does not support it on amd64
Date: Wed, 26 Apr 2006 15:49:07
Message-Id: 18e575130604260843q2ccb9002hf2049c2043c50007@mail.gmail.com
1 This started when I found out that FontForge (FF) does not want to run
2 with Gentoo's iconv:
3 http://bugs.gentoo.org/show_bug.cgi?id=124998
4
5 The FF developer told me:
6
7 "According to the "$ iconv --list" you sent
8 (http://plouj.sh.nu/iconvlist) both UCS2 and ISO-8859-1 are
9 supported by your iconv. Yet attempting to convert one to the other
10 fails. FF requires this conversion to work before it will start."
11
12 Although FF seems to work now if compiled --without-iconv, I would
13 like to know why this conversion is not working on my system.
14
15 Here is what happens if I type:
16
17 $ iconv --from-code ISO-8859-1 --to-code UCS2 </dev/null
18 iconv: conversion from `ISO-8859-1' is not supported
19
20 $ iconv --from-code ISO-8859-1 --to-code UCS-2 </dev/null
21 iconv: conversion from `ISO-8859-1' is not supported
22
23 $ iconv --from-code ISO-8859-1 --to-code UCS-2-INTERNAL </dev/null
24 iconv: conversion from `ISO-8859-1' and to `UCS-2-INTERNAL' are not supported
25
26 $ iconv --from-code ISO-8859-1 --to-code "ISO-10646/UCS2" </dev/null
27 iconv: conversion from `ISO-8859-1' is not supported
28
29 $ iconv --from-code ISO-8859-1 --to-code "UNICODE" </dev/null
30 iconv: conversion from `ISO-8859-1' and to `UNICODE' are not supported
31
32 Is there a way to make this conversion work? What is required? Is this
33 somehow related to the locales which I have installed? How can I find
34 out what kind of conversions would work on my system? Is this a known
35 bug?
36
37 My locales as configured from the time Gentoo was installed:
38
39 $ cat /etc/locales.build
40 en_US/ISO-8859-1
41 en_US.UTF-8/UTF-8
42
43 If there is a more appropriate gentoo mailing list for this, please
44 direct me there.
45
46 Thank you for your in advance.
47
48 --
49 gentoo-user@g.o mailing list

Replies