|
From: | Thomas Dickey |
Subject: | Re: [Lynx-dev] lynx iconv for Solaris |
Date: | Thu, 25 Dec 2008 20:55:14 -0500 (EST) |
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 -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |