locale LANG value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I get the value of LANG from locale programatically in Redhat Linux ... 
Is there some function like getlocale(), like we have setlocale()

I need to generate XML file in UTF-8 or SHIFT_JIS depending on the system locale.

Rgds,
Gaurav.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux