lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] lynx iconv for Solaris


From: Takao Fujiwara - Tokyo S/W Center
Subject: Re: [Lynx-dev] lynx iconv for Solaris
Date: Sat, 27 Dec 2008 01:05:00 +0900
User-agent: Thunderbird 2.0.0.12 (X11/20080326)

Thomas Dickey-san wrote (12/26/08 10:55 AM):
On Fri, 26 Dec 2008, Takao Fujiwara - Tokyo S/W Center wrote:

Yes, you're right.
This means Solaris iconv always failed the "$ENCODING//TRANSLIT".
So if iconv_open("$ENCODING, "UTF-16BE") is added without "//TRANSLIT", it works on none GNU iconv.


- if ((strcmp(LYCharSet_UC[charset_out].MIMEname, "shift_jis") == 0) ||
-        (strcmp(LYCharSet_UC[charset_out].MIMEname, "euc-jp") == 0)) {
+    if (LYCharSet_UC[charset_out].codepage == 0 &&
+        LYCharSet_UC[charset_out].codepoints == 0) {
         iconv_t cd;

This means I'd like to use iconv for CJK but not Japanese only.

I merged this patch in with my current changes, which I'll probably be
posting as dev.12 next week.  The bookmark patch overlooked some issues,
so I wrote a different version of that change, which you may want to
look at (diff's against 2.8.7dev.11 of course).  That's in

    ftp://invisible-island.net/temp/lynx2.8.7dev.11b.patch.gz


Thanks much for your integration.
I confirmed your patch. I'll test the bookmark part when the new tarball is 
delivered.

fujiwara




reply via email to

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