f16&action=edit)  
[ codecvt_mode  ](/w/cpp/locale/codecvt_mode "cpp/locale/codecvt mode") (C++11)  (deprecated in C++17)  (removed in C++26)  |  tags to alter behavior of the standard codecvt facets   
(enum)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/locale/dsc_codecvt_mode&action=edit)  
(until C++26)  
  
###  [ [ edit ](/mwiki/index.php?title=cpp/locale&action=edit&section=5 "Edit
section: C library locales") ]  C library locales

Defined in header ` [ <clocale> ](/w/cpp/header/clocale "cpp/header/clocale")
`  
---  
[ setlocale  ](/w/cpp/locale/setlocale "cpp/locale/setlocale") |  gets and sets the current C locale   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/locale/dsc_setlocale&action=edit)  
[ LC_ALL  LC_COLLATE  LC_CTYPE  LC_MONETARY  LC_NUMERIC  LC_TIME  ](/w/cpp/locale/LC_categories "cpp/locale/LC categories") |  locale categories for  [ std::setlocale ](/w/cpp/locale/setlocale "cpp/locale/setlocale")   
(macro constant)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/locale/dsc_LC_categories&action=edit)  
[ localeconv  ](/w/cpp/locale/localeconv "cpp/locale/localeconv") |  queries numeric and monetary formatting details of the current locale   
(function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/locale/dsc_localeconv&action=edit)  
[ lconv  ](/w/cpp/locale/lconv "cpp/locale/lconv") |  formatting details, returned by  [ std::localeconv ](/w/cpp/locale/localeconv "cpp/locale/localeconv")   
(class)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/locale/dsc_lconv&action=edit)  
  
###  [ [ edit ](/mwiki/index.php?title=cpp/locale&action=edit&section=6 "Edit
section: See also") ]  See also

[ C documentation ](/w/c/locale "c/locale") for  Localization support  
---  
  
Retrieved from " [
https://en.cppreference.com/mwiki/index.php?title=cpp/locale&oldid=167800
](https://en.cppreference.com/mwiki/index.php?title=cpp/locale&oldid=167800) "

#####  Navigation

  * [ Support us ](http://www.cppreference.com/support)
  * [ Recent changes ](/w/Special:RecentChanges "A list of recent changes in the wiki \[r\]")
  * [ FAQ ](/w/Cppreference:FAQ)
  * [ Offline version ](/w/Cppreference:Archives)

#####  Toolbox

  * [ What links here ](/w/Special:WhatLinksHere/cpp/locale "A list of all wiki pages that link here \[j\]")
  * [ Related changes ](/w/Special:RecentChangesLinked/cpp/locale "Recent changes in pages linked from this page \[k\]")
  * [ Upload file ](http://upload.cppreference.com/w/Special:Upload "Upload files \[u\]")
  * [ Special pages ](/w/Special:SpecialPages "A list of all special pages \[q\]")
  * [ Printable version ](/mwiki/index.php?title=cpp/locale&printable=yes "Printable version of this page \[p\]")
  * [ Permanent link ](/mwiki/index.php?title=cpp/locale&oldid=167800 "Permanent link to this revision of the page")
  * [ Page information ](/mwiki/index.php?title=cpp/locale&action=info)

  * In other languages 

  * [ العربية ](http://ar.cppreference.com/w/cpp/locale "cpp/locale")
  * [ Deutsch ](http://de.cppreference.com/w/cpp/locale "cpp/locale")
  * [ Español ](http://es.cppreference.com/w/cpp/locale "cpp/locale")
  * [ Français ](http://fr.cppreference.com/w/cpp/locale "cpp/locale")
  * [ Italiano ](http://it.cppreference.com/w/cpp/locale "cpp/locale")
  * [ 日本語 ](http://ja.cppreference.com/w/cpp/locale "cpp/locale")
  * [ Português ](http://pt.cppreference.com/w/cpp/locale "cpp/locale")
  * [ Русский ](http://ru.cppreference.com/w/cpp/locale "cpp/locale")
  * [ 中文 ](http://zh.cppreference.com/w/cpp/locale "cpp/locale")

  * This page was last modified on 30 December 2023, at 21:29. 
  * This page has been accessed 332,934 times. 

  * [ Privacy policy ](/w/Cppreference:Privacy_policy "Cppreference:Privacy policy")
  * [ About cppreference.com ](/w/Cppreference:About "Cppreference:About")
  * [ Disclaimers ](/w/Cppreference:General_disclaimer