System Locale
The system locale is the local machine code for regional data. They differ on different platforms. Contact your system administrator if you are uncertain about your system locales. Here are some typical examples:
\^ Region \^ Linux Locale \^ Mac Locale \^ Windows Locale (Non-UTF-8) \^ | English (United States) | en_US.utf8 | en_US.UTF-8 | en-US | | German (Germany) | de_DE.utf8 | de_DE.UTF-8 | de-DE | | Japanese (Japan) | ja_JP.utf8 | ja_JP.UTF-8 | ja-JP | | Spanish (Spain) | es_ES.utf8 | es_ES.UTF-8 | es-ES | | Swedish (Sweden) | sv_SE.utf8 | sv_SE.UTF-8 | sv-SE |
List all supported locales on a machine
Mac and Linux users, open Terminal and run the following command: locale -a
Windows users, open Powershell from the Start menu and run the following command:
-
- Note:** Windows locales do not support UTF-8 but LiteCart has a workaround. :)
-
- Note:** PHP 5.6+ runs UTF-8 as default charset.
See Also
Revisions
Top Editors
Recently Edited Articles