Here is the patch, almost taken from fltk2:

--- fltk118-utf8-2007-06-20_orig/src/Fl_Help_View.cxx   2007-06-20 
21:22:51.000000000 +0200
+++ fltk118-utf8-2007-06-20/src/Fl_Help_View.cxx        2007-06-21 
17:28:35.973870720 +0200
@@ -2199,10 +2199,7 @@
       if (qch < 0)
        *s++ = '&';
       else {
-        int l;
-        l = fl_ucs2utf((unsigned int) qch, s);
-        if (l < 1) l = 1;
-        s += l;
+        *s++ = qch;
        ptr = strchr(ptr, ';') + 1;
       }
     }
@@ -3195,11 +3192,9 @@
 #ifdef ENC
 # undef ENC
 #endif
-#ifdef __APPLE__
-# define ENC(a, b) b
-#else
+
+// part b in the table seems to be mac_roman - beku
 # define ENC(a, b) a
-#endif

 //
 // 'quote_char()' - Return the character code associated with a quoted char.


kind regards
Kai-Uwe Behrmann
--
developing for colour management 
www.behrmann.name + www.oyranos.org + www.cinepaint.org


Am 21.06.07, 11:10 +0200 schrieb Kai-Uwe Behrmann:

> text. At least that solution is already choosen in the fltk2 tree. Thats 
> where I have copied.
> The table in quote_char() is already a more elegant solution. I will come 
> with a complete diff for that later this day.
 

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to