Re: [Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-09-22 Thread Antonio Scuri
Hi, Using the latest IUP version I just tested in systems: Ububtu 15 GTK 3 Ububtu 12 GTK 2 with global attribute UTF8MODE= Yes and No, in both systems. They all work ok. When UTF8MODE=No, the output is mangled because the system locale is UTF-8, but using IupGetAttribute(ih, "VALUE")

Re: [Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-09-21 Thread Jörg F. Wittenberger
Am 20.09.2015 um 21:05 schrieb Antonio Scuri: > Because of the console default locale. In Windows it is not UTF-8. In > modern Linux, at least in Ubuntu the default is UTF-8. So it should work. > I'll make a few tests here next week and let you know. I see. Now this is a Debian/Testing here

Re: [Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-09-20 Thread Antonio Scuri
Because of the console default locale. In Windows it is not UTF-8. In modern Linux, at least in Ubuntu the default is UTF-8. So it should work. I'll make a few tests here next week and let you know. Best, Scuri On Sat, Sep 19, 2015 at 7:13 AM, "Jörg F. Wittenberger" <

Re: [Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-09-18 Thread Antonio Scuri
I think that won't work. It will print garbage... Specially in Windows. Best, Scuri On Fri, Sep 18, 2015 at 4:55 PM, "Jörg F. Wittenberger" < joerg.wittenber...@softeyes.net> wrote: > Am 17.09.2015 um 02:34 schrieb Antonio Scuri: > > How are you checking this? Using a printf like output? >

Re: [Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-09-16 Thread Antonio Scuri
How are you checking this? Using a printf like output? I couldn't reproduce the problem here. Best, Scuri On Thu, Aug 27, 2015 at 10:21 AM, Antonio Scuri wrote: > ok I'll check that. > > Thanks, > Scuri > > > On Wed, Aug 26, 2015 at 6:22 PM, "Jörg F.

Re: [Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-08-27 Thread Antonio Scuri
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

[Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-08-26 Thread Jörg F. Wittenberger
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: