KO Myung-Hun <kom...@gmail.com> writes: >> For example, it says: >> >> If the output character set is ommited from the LANG variable, the >> default codepage is ALWAYS taken from the operating system (e.g. the >> codepage setting from locale.alias is always ignored, so "russian" >> stays just for "ru_RU" and not for "ru_RU.ISO-8859-5"); you may want >> to set it just if you want to override the active OS/2 codepage. > > This patch does not change any behaviors of OS/2 port of gettext. > Because this patch embeds charset aliases into localcharset.c instead of > using charset.alias file, and fixes the problem a locale instead of a > charset if a charset is not specified is returned.
Thanks for checking, looks safe then. One question is: where did you take the mapping data? I found this chart: http://www.borgendale.com/locale.htm I'm not sure how authoritative it is, but there are some differences from yours: ar_AA, bg_BG, lt_LT, lv_LV, and zh_CN. Regards, -- Daiki Ueno