Understanding Character Encoding in the Code Editor of cPanel

Character encoding can be a huge issue if you are not using standard characters in your website. If you open a file in Code Editor within cPanel and do not choose the correct character set, the editor may delete code, or display characters incorrectly. If your website uses the English Alphabet and standard characters, the character encoding is usually not an issue since the standard encoding of the editor is UTF-8.

However, if you use different character encoding, such as EUC-JP, you will need to adjust the character encoding in cPanel.

  1. Log into cPanel
  2. Go to File Manager
  3. Navigate to the file you want to edit
  4. Right click on the file you wish to work with and select “code editor
  5. cp_char_1

  6. Select the correct character encoding from the dropdown menu
  7. cp_char_2

  8. Click “Edit

Now, the code should display properly. Remember, if you are using standard encoding, you can leave the default setting to UTF-8. If you need further assistance please feel free to ask a question on our support center.

Was this article helpful? Let us know!