Cc'ing the upstream maintainer: Motoyuki Kasahara

(This is Debian Bug: http://bugs.debian.org/502266
 Mail [email protected] to reply.)

On October 15, 2008 at 3:23PM +0900,
rigarash (at gmail.com) wrote:

> Package: eb-utils
> Version: 4.3.2-1
> Severity: normal
> 
> Hi,
> 
> When showing information of japanese title dictionaries (e.g. eijiro 
> transformed by EBstudio),
> ebinfo command fails to show title properly on ja_JP.UTF-8 locale (or even C).
> Looks like ebinfo does not convert title string to proper encoding.

The cause of this problem is that HAVE_ICONV_H is defined but
HAVE_ICONV_OPEN is not defined in config.h by configure at build
time.  So, the fputs_eucjp_to_locale function in
libebutils/puts_eucjp.c fails to convert the string.

A workaround is:

----
--- eb-4.3.2-1/libebutils/puts_eucjp.c
+++ eb-4.3.2/libebutils/puts_eucjp.c
@@ -38,6 +38,7 @@
 
 #ifdef HAVE_ICONV_H
 #include <iconv.h>
+#define HAVE_ICONV_OPEN 1
 #endif
 
 #if defined(HAVE_LIBCHARSET_H)
----

Motoyuki, what do you think of this bug?  Is this a bug in autoconf?

Thanks,
-- 
Tatsuya Kinoshita



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to