Guide to Locales - Why You Should Use UTF-8

Introduction

The locale system's character set is  always utf-8 . While it is possible to use other character sets for the locale system,   utf-8  offers many benefits that other character sets lack, and has no known issues. For this reason, we only recommend utf-8 locales.

Why utf-8 ?

The locale system uses the utf-8 character encoding for several specific reasons:

  • Character sets and collations are complicated topics. A unified standard simplifies the localization process immensely.
  • utf-8 support is universal.
  • utf-8 allows you to list multiple languages in a single interface or file (for example, to create a menu of available locales).
  • utf-8 ensures that the locale system can interact with external systems (for example, file editors and databases). 
  • Languages like JavaScript and Perl can natively use utf-8 data.

While it is possible for a locale to use another character encoding, we have yet to find a good reason to do so. For this reason, we will not document how to use a different character set. If, however, you think that you have found a valid reason to use another character set, we would be happy to consider it. Send an email to integration@cpanel.net  with the technical reasons why your project requires a locale in another encoding

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....