lynx-dev
[Top][All Lists]
Advanced

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

[Lynx-dev] iconv without //TRANSLIT support


From: Thorsten Glaser
Subject: [Lynx-dev] iconv without //TRANSLIT support
Date: Fri, 2 Jun 2006 20:14:17 +0000 (UTC)

--- UCdomap.c   2 Jun 2006 19:32:55 -0000       1.3
+++ UCdomap.c   2 Jun 2006 20:13:33 -0000
@@ -952,7 +952,9 @@
            HTSprintf0(&tocode, "%s//TRANSLIT", 
LYCharSet_UC[charset_out].MIMEname);
            cd = iconv_open(tocode, "UTF-16BE");
            FREE(tocode)
+           if (cd == (iconv_t)-1)
+               cd = iconv_open(LYCharSet_UC[charset_out].MIMEname, "UTF-16BE");
-               rc = iconv(cd, &pin, &inleft, &pout, &outleft);
+           rc = iconv(cd, &pin, &inleft, &pout, &outleft);
            iconv_close(cd);
            if ((pout - outbuf) == 3) {
                CTRACE((tfp,

The 'rc = iconv...' diff fixes indentation.

bye,
//mirabile
-- 
> emacs als auch vi zum Kotzen finde (joe rules) und pine für den einzig
> bedienbaren textmode-mailclient halte (und ich hab sie alle ausprobiert). ;)
Hallooooo, ich bin der Holger ("Hallo Holger!"), und ich bin ebenfalls
... pine-User, und das auch noch gewohnheitsmäßig ("Oooooooohhh").  [aus dasr]




reply via email to

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