ok I'll check that. Thanks, Scuri
On Wed, Aug 26, 2015 at 6:22 PM, "Jörg F. Wittenberger" < joerg.wittenber...@softeyes.net> wrote: > I'm trying to use the ACTION callback on a IupText. The callback > receives wierd values for the 3rd (char* new_value) argument. > > Here what I get when I enter "merkwürdig": > > SearchV: "m" > SearchV: "me" > SearchV: "mer" > SearchV: "merk" > SearchV: "merkw" > SearchV: "merkwü" > SearchV: "merkw�r�" > SearchV: "merkwüdr" > SearchV: "merkwürid" > SearchV: "merkwürdgi" > > The "ü" character is first damaged, then restored. Worse: from now on > the last two characters are always kept swapped. > > The problem worsens to total mess when I enter two UTF-8 characters. > > > I've been able to work around the problem by ignoring the ACTION > callback and retrieving the current value in VALUECHANGED_CB. > > Just wanted to inform you about the issue. > > Best > > /Jörg > > > ------------------------------------------------------------------------------ > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
------------------------------------------------------------------------------
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users