Forum Discussion
WIWIO
Nov 07, 2019Copper Contributor
Windows 10 1903) How to change Default Encoding UTF-8 to ANSI In Notepad?
Hello, does anyone know if you can re-enable ANSI encoding by registry in the notepad, instead of the default UTF8 encoding, which is given since Windows 10 version 1903. ======================...
- Apr 24, 2023It's suspected to be a bug in Windows and hasn't been fixed in four years, and the only alternative is to change the default editor to Notpad++ or change the encoding settings on save. Thanks, Microsoft.
cam_amoi
Jul 17, 2020Copper Contributor
- In Regedit go to Computer\HKEY_CURRENT_USER\Software\Microsoft\Notepad
- in the menu select edit/new/DWORD
- in the DWORD name enter iDefaultEncoding and enter value 1 as hexadecimal (it will automatically display as 0x0000001 (1) once you press OK)
[HKEY_CURRENT_USER\Software\Microsoft\Notepad]
"iDefaultEncoding"=dword:00000001
1 = ANSI ; 2 = UTF-16 LE ; 3 = UTF-16 BE ; 4 = UTF-8 BOM ; 5 = UTF-8
frode66
Aug 07, 2020Copper Contributor
Very helpfull.
You should not by any chance have the value corresponding to "1252 Western Europe (Windows)" as well ?
- jflarvoireAug 07, 2020Copper Contributor
1 = ANSI is "1252 Western Europe (Windows)" on all Western Europe, USA, and Canada versions of Windows