2-8-4dev.7 seems to have a problem with highlighting Japanese string.

I attach a sample file, with which the problem occurs.  All of the
string in the link should be highlighted, but the latter half of the
third line wouldn't be highlighted with D.C.S is Japanese(Shift_JIS).

Probably this patch will fix it.
--
Takeshi Hataguchi
E-mail: [EMAIL PROTECTED]

--- LYUtils.c.bak       Wed Jan 02 10:30:08 2002
+++ LYUtils.c   Wed Feb 06 23:49:10 2002
@@ -1074,7 +1074,7 @@
                         * For CJK strings, by Masanobu Kimura.
                         */
                        if (HTCJK != NOCJK && is8bits(tmp[0])) {
-                           tmp[1] = LYGetHiliteStr(cur, 1)[++i];
+                           tmp[1] = hi_string[++i];
                            LYaddstr(tmp);
                            tmp[1] = '\0';
                        } else {

Attachment: foo.html
Description: Binary data

Reply via email to