Setting Locale information

Found one of the interesting function "Setlocale".

Setlocale function sets the global locale and returns the previous locale. This function has a parameter "lcid" to identify uniquely a locale, which is a 32 bit value/short string.

Syntax: Setlocale(lcid)

If "lcid" is set as Zero(0), then it will set the current system setting.

Please find the working sample available, click here