Some observations after discussions on #edevelop... 1) dj2 and I were wondering why e_main_dirs_init call e_intl_shutdown. anybody? The shutdown frees the list of languages, pretty much straight away after it is initialized. Is this right?
2) the LANG environment variable seems to be getting clobbered during initialization. I used printf statements to track down the snprintf call in _e_main_dirs_init as the culprit: ... homedir = e_user_homedir_get(); if (!homedir) return 0; for (i = 0; i < (int)(sizeof(dirs) / sizeof(char *)); i++) { + printf("LANG 66 :%s\n",getenv("LANG")); snprintf(buf, sizeof(buf), dirs[i], homedir); + printf("buf is %s\n", buf); + printf("LANG 99 :%s\n",getenv("LANG")); ... produces the following: LANG 66 :ja_JP.UTF-8 buf is /home/david/.e LANG 99 :(null) LANG 66 :(null) buf is /home/david/.e/e LANG 99 :(null) ... If LANG is getting clobbered by this snprintf, other stuff probably is as well? 3) It's not causing any problems at this stage, but the attached little patch to e_intl.c might save someone a small headache later :-) (ja is the iso639 code for Japanese language, JP is the iso code for the Japan territory) 4) Question: Should I be able to get Japanese in E17 to display using LANG=ja_JP.EUC-JP? I got square boxes etc instead of Japanese with this setting, but when I changed to ja_JP.UTF-8 things came right with E17 (but messed up some of my japanese apps ^-^). Regards, [EMAIL PROTECTED] (e-taro)
jptoja.patch
Description: Binary data