Re: [I18n] XIMText-length problem with multibyte chars in X_LOCALE environment

2003-08-22 Thread Ivan Pascal
Hi, I checked lcEuc.c and found euc_mbstowcs() is doing wrong about *from_left value. Referencing with stdc_mbstowcs() in lcgenConv.c, I modified euc_mbstowcs() and also euc_wcstombs() in lcEuc.c. With this modification, _Xmblen began to work fine . Good work! I was going to tell you

Re: [I18n] XIMText-length problem with multibyte chars in X_LOCALE environment

2003-08-21 Thread Etsushi Kato
Hi, Thanks for your explanation. To all appearances X_LOCALE was purposed for systems where libc has not a locale support. If X_LOCALE is defined Xlib replaces setlocale with own Xsetlocale which just keeps a locale name (and returns it being asked) and doesn't touch libc's setlocale. But in