Hi, Currently I cannot commit UTF-8 strings with input method because UCTransToUni() returns -11 and havevisible() checks the return value. The attached patch can fix this problem.
--- lynx2-8-6/src/LYBookmark.c.orig 2008-12-22 23:08:45.801692000 +0900 +++ lynx2-8-6/src/LYBookmark.c 2008-12-22 23:44:49.813365000 +0900 @@ -988,6 +988,8 @@ if (LYHaveCJKCharacterSet || !UCCanUniTranslateFrom(current_char_set)) return (TRUE); unicode = UCTransToUni(*p, current_char_set); + if (unicode == -11 && LYCharSet_UC[current_char_set].enc == UCT_ENC_UTF8) + return (TRUE); if (unicode > 32 && unicode < 127) return (TRUE); if (unicode <= 32 || unicode == 0xa0 || unicode == 0xad)
_______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
