Thanks for the information. Your test1.c indeed printed the error on Solaris, OK on other Unix OS (I tried FC and FreeBSD). I need to find a solution for this. Can you send me the list of entries in /usr/lib/locale. And also /usr/shared/i18n/locales if you have.