Hello JMarc,

On Thu, 19 Feb 2004, Jean-Marc Lasgouttes wrote:

> 
> Hello cghan,
> 
> Just a small message to keep you informed of recent cjk-related
> developments. 
> 
> There has been a bug reported recently on lyx-devel where german users
> of LyX/xforms had strange locale related problems. It turned out that
> this bug was related to the cjk patch to xforms that is not included
> in suse linux.
> 
> As a result, the following patch has been applied to the xforms suse
> rpm:
> 
> diff -ru xforms-1.0-release.orig/lib/flresource.c
>  xforms-1.0-release/lib/flresource.c ---
>  xforms-1.0-release.orig/lib/flresource.c     2004-02-10 12:45:01.000000000 +0100
>  +++ xforms-1.0-release/lib/flresource.c      2004-02-10 12:47:30.933876558 +0100
>  @@ -1035,7 +1035,7 @@
>  extern int
>  use_fontset()
>  {
> -     char * loc = setlocale(LC_ALL, "");
> +     char * loc = setlocale(LC_CTYPE, NULL);
> 


I have no objection to this change. In fact, Angus did not like this part 
of the patch, for it is not general enough for all kinds of language 
environments. This was the reason why we did not submit our i18n patch to 
the official xforms-devel list. I would deeply appreciate anyone's 
improving this part of the patch, so that it can be made an official i18n 
patch to the xforms library.

Regards,


cghan


P.S. I uploaded new xforms-1.0-i18n_7 lib. on our new ftp site,
ftp://cellular.phys.pusan.ac.kr/CJK-LyX/xforms



Reply via email to