Windows 10 1903) How to change Default Encoding UTF-8 to ANSI In Notepad?

%3CLINGO-SUB%20id%3D%22lingo-sub-991268%22%20slang%3D%22en-US%22%3EWindows%2010%201903)%20How%20to%20change%20Default%20Encoding%20UTF-8%20to%20ANSI%20In%20Notepad%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-991268%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Edoes%20anyone%20know%20if%20you%20can%20re-enable%20ANSI%20encoding%20by%20registry%20in%20the%20notepad%2C%20instead%20of%20the%20default%20UTF8%20encoding%2C%20which%20is%20given%20since%20Windows%2010%20version%201903.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-991502%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%201903)%20How%20to%20change%20Default%20Encoding%20UTF-8%20to%20ANSI%20In%20Notepad%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-991502%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3Ethere%20is%20an%20answer%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fanswers.microsoft.com%2Fen-us%2Fwindows%2Fforum%2Fwindows_7-windows_programs%2Fdefault-utf-8-encoding-for-new-notepad-documents%2F525f0ae7-121e-4eac-a6c2-cfe6b498712c%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fanswers.microsoft.com%2Fen-us%2Fwindows%2Fforum%2Fwindows_7-windows_programs%2Fdefault-utf-8-encoding-for-new-notepad-documents%2F525f0ae7-121e-4eac-a6c2-cfe6b498712c%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3Eyou%20can%20also%20use%20Notepad%2B%2B%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fnotepad-plus-plus.org%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fnotepad-plus-plus.org%2F%3C%2FA%3E%3CBR%20%2F%3Ethat%20supports%20changing%20default%20encoding%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-994194%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%201903)%20How%20to%20change%20Default%20Encoding%20UTF-8%20to%20ANSI%20In%20Notepad%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-994194%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EMy%20question%20is%20to%20change%20UTF-8%20to%20ANSI.%20I'm%20not%20curious%20about%20changing%20from%20ANSI%20to%20UTF-8.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1529176%22%20slang%3D%22fr-FR%22%3ERe%3A%20Windows%2010%201903)%20How%20to%20change%20Default%20Encoding%20UTF-8%20to%20ANSI%20In%20Notepad%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1529176%22%20slang%3D%22fr-FR%22%3E%3CP%3E-%20In%20Regedit%20go%20to%20Computer-HKEY_CURRENT_USER-Software-Microsoft-Notepad%3C%2FP%3E%3CP%3E-%20in%20the%20menu%20select%20edit%2Fnew%2FDWORD%3C%2FP%3E%3CP%3E-%20in%20the%20DWORD%20name%20enter%20iDefaultEncoding%20and%20enter%20value%201%20as%20hexadecimal%20(it%20will%20automatically%20display%20as%200x0000001%20(1)%20once%20you%20press%20OK)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5BHKEY_CURRENT_USER-Software-Microsoft-Notepad%5D%3C%2FP%3E%3CP%3E%22iDefaultEncoding%22%20-dword%3A00000001%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1%20-%20ANSI%3B%202%20-%20UTF-16%20LE%3B%203%20-%20UTF-16%20BE%3B%204%20-%20UTF-8%20BOM%3B%205%20-%20UTF-8%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1572800%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%201903)%20How%20to%20change%20Default%20Encoding%20UTF-8%20to%20ANSI%20In%20Notepad%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1572800%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F731925%22%20target%3D%22_blank%22%3E%40cam_amoi%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EVery%20helpfull.%3CBR%20%2F%3EYou%20should%20not%20by%20any%20chance%20have%20the%20value%20corresponding%20to%20%221252%20Western%20Europe%20(Windows)%22%20as%20well%20%3F%3CBR%20%2F%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1573307%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%2010%201903)%20How%20to%20change%20Default%20Encoding%20UTF-8%20to%20ANSI%20In%20Notepad%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1573307%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F752513%22%20target%3D%22_blank%22%3E%40frode66%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E1%20%3D%20ANSI%20is%26nbsp%3B%221252%20Western%20Europe%20(Windows)%22%20on%20all%20Western%20Europe%2C%20USA%2C%20and%20Canada%20versions%20of%20Windows%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

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. 

5 Replies
Highlighted

@HotCakeX 

My question is to change UTF-8 to ANSI. I'm not curious about changing from ANSI to UTF-8.

 

Highlighted

- 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

Highlighted

@cam_amoi

 

Very helpfull.
You should not by any chance have the value corresponding to "1252 Western Europe (Windows)" as well ?
 

Highlighted

@frode66 

1 = ANSI is "1252 Western Europe (Windows)" on all Western Europe, USA, and Canada versions of Windows