Let’s assume that you have a text file showing some unusual characters such as “ð???”. If you want to extract the original human-readable text out of these strange characters, you may need to switch between character encodings. We have already shown the process to change the character encoding in the Outlook app, now let us see how to do it for Notepad. While Notepad allows you to change the encoding while saving the file, it is better to change it while creating or editing a file. The following character encodings are available:
ANSIUTF-16 LEUTF-16 BEUTF-8UTF-8 with BOM
Precaution: As you will use Registry Editor, it is recommended to backup all Registry files and create a System Restore point.
How to change default encoding in Notepad
To change default encoding in Notepad, follow these steps- You will have to open the Registry Editor on your computer. For that, press Win+R, type regedit, and hit the Enter button. If the UAC prompt appears, click on the Yes button. After opening the Registry Editor, navigate to the following path- Right-click on Notepad and select New > DWORD (32-bit) Value.
Once it is created, name it as iDefaultEncoding. Now, double-click on iDefaultEncoding and set the Value data as following-
ANSI: 1UTF-16 LE: 2UTF-16 BE: 3UTF-8 BOM: 4UTF-8: 5
After setting the Value data, click on the OK button to save the change.
Once done, restart the Notepad app to find the difference. You can see the selected character encoding in the Status Bar. In case you want to get back to the original, navigate to the same path in the Registry Editor and right-click on iDefaultEncoding. Then, select the Delete button and confirm the removal. Hope all goes well.