Hi,
I have a C program that uses locales set by environmet using the function setlocale(LC_ALL,""). The locale on SLES15 is set to ja_JP.sjis but setlocale(LC_ALL,"") returns null.
I’ve also checked the following:
- Set locale to ja_JP.sjis on SLES12 and it works fine (setlocale return ja_JP.sjis)
- Set locale to ja_JP.utf8 on SLES15 and it works fine (setlocale return ja_JP.utf8)
- The locale setting is as follows:
LANG=ja_JP.sjis
LC_CTYPE=ja_JP.sjis
LC_NUMERIC=“ja_JP.sjis”
LC_TIME=“ja_JP.sjis”
LC_COLLATE=“ja_JP.sjis”
LC_MONETARY=“ja_JP.sjis”
LC_MESSAGES=“ja_JP.sjis”
LC_PAPER=“ja_JP.sjis”
LC_NAME=“ja_JP.sjis”
LC_ADDRESS=“ja_JP.sjis”
LC_TELEPHONE=“ja_JP.sjis”
LC_MEASUREMENT=“ja_JP.sjis”
LC_IDENTIFICATION=“ja_JP.sjis”
LC_ALL=ja_JP.sjis
Does anybody know what cause ja_JP.sjis locale on SLES15 doesn’t work with setlocale function, or are there any changes on locale setting for SLES15?
Thanks and best regards