[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compil
From: |
patakuti |
Subject: |
Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw |
Date: |
Tue, 11 May 2004 23:34:47 +0900 (JST) |
From: Atsuhito KOHDA <address@hidden>
Subject: Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5
compiled withncursesw
Date: Tue, 11 May 2004 17:24:46 +0900 (JST)
> > > I tested the above patch with my Debian GNU/Linux system
> > > but I couldn't see any improvement ;-)
> >
> > Please try again using libiconv instead of glibc's iconv.
[snip]
> Only one (but critical) problem is that installing libiconv
> in a system with glibc (like Linux) might be very hard and
> dangerous.
>
> Isn't there any chance of a patch which could work with glibc's
> iconv?
I tested the patch on Linux today, and improved it.
Please try this additional patch, which seems to work well with
glibc's iconv and also libiconv.
--
Takeshi Hataguchi
E-mail: address@hidden
diff -ur orig/lynx2-8-5/src/UCdomap.c lynx2-8-5/src/UCdomap.c
--- orig/lynx2-8-5/src/UCdomap.c Tue May 11 19:49:20 2004
+++ lynx2-8-5/src/UCdomap.c Tue May 11 19:58:16 2004
@@ -981,7 +981,7 @@
str[0] = unicode >> 8; str[1] = unicode & 0xFF; str[2] = 0;
pin = str; inleft = 2;
pout = outbuf, outleft = buflen;
- cd = iconv_open(LYCharSet_UC[charset_out].MIMEname,
"UTF-16//TRANSLIT");
+ cd = iconv_open(LYCharSet_UC[charset_out].MIMEname,
"UTF-16BE//TRANSLIT");
rc = iconv(cd, &pin, &inleft, &pout, &outleft);
iconv_close(cd);
if ((pout - outbuf) == 3) {
- [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw, Atsuhito KOHDA, 2004/05/10
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw, Henry Nelson, 2004/05/10
- [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw, patakuti, 2004/05/10
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw, Atsuhito KOHDA, 2004/05/11
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw,
patakuti <=
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw, Atsuhito KOHDA, 2004/05/12
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5 compiled withncursesw, Henry Nelson, 2004/05/12
- [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5compiled withncursesw, patakuti, 2004/05/12
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with 2.8.5pre.5compiled withncursesw, Henry Nelson, 2004/05/12
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with2.8.5pre.5compiled withncursesw, patakuti, 2004/05/13
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with2.8.5pre.5compiled withncursesw, Atsuhito KOHDA, 2004/05/13
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with2.8.5pre.5compiled withncursesw, Henry Nelson, 2004/05/14
- [PATCH] UTF-8 for users of Japanese language (was: [Lynx-dev] Re: lynx-dev a problem of Japanesewith2.8.5pre.5compiled withncursesw), patakuti, 2004/05/15
- Re: [PATCH] UTF-8 for users of Japanese language (was: [Lynx-dev] Re: lynx-dev a problem of Japanesewith2.8.5pre.5compiled withncursesw), Thomas Dickey, 2004/05/15
- Re: [Lynx-dev] Re: lynx-dev a problem of Japanese with2.8.5pre.5compiled withncursesw, Thomas Dickey, 2004/05/15