Lines Matching refs:setlocale
2 Test setlocale() function : usage variations - passing multiple valid/invalid locales as argument
8 if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) {
14 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */
36 pass as argument to setlocale(), pass 2 invalid arguments along with two valid arguments*/
37 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";
56 // Now check for three locales that is present in the system and use that as argument to setlocale()
60 …echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_U…
62 // call setlocale()
63 …$new_locale = setlocale(LC_ALL, "en_US.invalid", "en_US.utf8", "Ko_KR.utf8", "KO_KR.invalid", "zh_…
65 // dump the name of the new locale set by setlocale()
85 *** Testing setlocale() by passing multiple valid/invalid locales as argument ***
86 -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8,…