C localization functions: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
{{lowercase}}
In [[computing]], '''locale.h''' is ana [[C (programming language)|C]] programming language [[header file]], used for purposes of [[Internationalization and localization|localization]]. The header provides two key functions: <code>localeconv</code> and <code>setlocale</code>. The former provides access to the current locale, while the latter allows one to set the current locale. The header also defines the [[C++ classes|struct]] <code>lconv</code>, which stores information about a given locale, including the local preference for the display of numbers and currency.
{{C Standard library}}
==Usage==