Home

Notepad Default encoding UTF8 Windows 10 Version 1903

%3CLINGO-SUB%20id%3D%22lingo-sub-814513%22%20slang%3D%22en-US%22%3ENotepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-814513%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%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.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-834349%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-834349%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F395774%22%20target%3D%22_blank%22%3E%401234598765%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E-%20use%20Notepad%2B%2B%20which%20is%20free%3CBR%20%2F%3E-%20OR%20use%20registry%20hack%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ERight%20click%20on%20Desktop%2C%20then%20choose%20New%20%26gt%3B%20Text%20Document%3C%2FLI%3E%3CLI%3EA%20text%20file%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ENew%20Text%20Document.txt%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20created.%20Don't%20type%20anything%20and%20open%20it.%3C%2FLI%3E%3CLI%3EGo%20to%20File%20%26gt%3B%20Save%20As...%20and%20choose%20UTF-8%20under%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EEncoding%3A%2C%20press%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ESave%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20overwrite%20the%20existing%20file.%20Close%20the%20file.%3C%2FLI%3E%3CLI%3ERename%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ENew%20Text%20Document.txt%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ETXTUTF-8.txt%3C%2FLI%3E%3CLI%3ECopy%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%22TXTUTF-8.txt%22%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EC%3A%5CWINDOWS%5CSHELLNEW%3C%2FLI%3E%3CLI%3EGo%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EStart%20%26gt%3B%20Run...%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20type%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eregedit%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20press%20ok%3C%2FLI%3E%3CLI%3ENavigate%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EHKEY_CLASSES_ROOT%5C.txt%5CShellNew%3C%2FLI%3E%3CLI%3ERight-click%20in%20the%20right%20window%20%26gt%3B%20New%20%26gt%3B%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EString%20Value%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20rename%20it%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EFileName%3C%2FLI%3E%3CLI%3EDouble%20click%20on%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EFileName%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20put%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ETXTUTF-8.txt%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Einto%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EValue%20data%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efield%20and%20press%20ok%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSTRONG%3ERemember%3C%2FSTRONG%3E%2C%20whenever%20you%20want%20to%20open%20a%20blank%20utf-8%20txt%20document%20you%20will%20have%20to%20right%20click%20%26gt%3B%20New%20%26gt%3B%20Text%20Document%20and%20work%20from%20there.%3C%2FP%3E%3CP%3E%3CEM%3EModifying%20the%20registry%20can%20cause%20serious%20damage%20pay%20attention%2C%20please.%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-880097%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-880097%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%3EYour%20instructions%20are%20for%20creating%20a%20UTF-8%20template%20document%20to%20make%20UTF-8%20a%20sort%20of%20default%2C%20which%20is%20the%20opposite%20of%20what%20the%20OP%20asked%20for.%26nbsp%3B%20UTF-8%20is%20already%20the%20default.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20technique%20will%20not%20work%20if%20the%20template%20file%20is%20empty%20or%20contains%20only%20ASCII%20text%2C%20as%20it%20would%20be%20byte-for-byte%20identical%20in%20ANSI%20and%20UTF-8.%26nbsp%3B%20Notepad%20will%20just%20use%20its%20default%20encoding%2C%20either%20ANSI%20or%20UTF-8%20depending%20on%20the%20version%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20template%20file%20will%20only%20be%20identified%20with%20the%20original%20encoding%20if%20it%20contains%20something%20that%20causes%20Notepad%20to%20recognize%20the%20encoding%2C%20such%20as%20a%20UTF-8%20BOM%20(but%20the%20OP%20wants%20ANSI%2C%20not%20UTF-8)%2C%20or%20an%20ANSI%20multi-byte%20sequence%20that%20cannot%20be%20reinterpreted%20as%20valid%20UTF-8.%26nbsp%3B%20For%20example%2C%20a%20text%20file%20containing%20only%20%22%C2%B5%22%20encoded%20as%20ANSI%20(for%20code%20page%201252%2C%20anyway)%20will%20correctly%20be%20identified%20as%20ANSI.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOf%20course%2C%20there's%20no%20need%20to%20worry%20about%20UTF-8%20vs.%20ANSI%20in%20the%20first%20place%20if%20every%20file%20contains%20only%20ASCII%20text.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-958212%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-958212%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F416594%22%20target%3D%22_blank%22%3E%40lexikos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%22Of%20course%2C%20there's%20no%20need%20to%20worry%20about%20UTF-8%20vs.%20ANSI%20in%20the%20first%20place%20if%20every%20file%20contains%20only%20ASCII%20text.%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWrong.%20If%20you%20write%20for%20example%20%22%C3%A8%22%20in%20notepad%2C%20when%20you%20open%20the%20file%20with%20another%20text%20editor%2C%20you%20will%20see%20%22%C3%83%C2%A8%22%20and%20not%20%22%C3%A8%22.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EThen%2C%20there's%20need%20to%20worry%20about%20UTF-8%20vs%20ANSI%2C%20because%20%22%C3%A8%22%20has%20his%20ASCII%20code%2C%20i.e.%20232%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1043193%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1043193%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F434550%22%20target%3D%22_blank%22%3E%40salclem2%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20not%20quite%20so%20easy!%3C%2FP%3E%3CP%3EMany%20people%20use%20Notepad%20for%20a%20quick%20.cmd%2F.bat%20file.%20These%20will%20not%20run%20under%20the%20command%20interpreter%20if%20encoded%20as%20UTF-8.%20The%20command%20interpreter%20simply%20gives%20a%20non-printable%20character%20plus%20the%20first%20character%20of%20the%20.cmd%2F.bat%20file%20and%20%22is%20not%20recognized%20as%20a%20command%22%20error%20if%20run%20from%20command%20prompt.%20If%20run%20as%20standalone%2C%20the%20window%20simply%20blinks%20open%20and%20closes%20immediately%20and%20does%20not%20execute%20the%20desired%20commands.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20wanting%20to%20write%20a%20.cmd%20or%20.bat%20now%20needs%20to%20remember%20to%20save%20as%20ANSI%20-%20very%20inconvenient!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20be%20very%20nice%20to%20have%20access%20to%20a%20key%20(maybe%20under%20HKCU%5CSoftware%5CMicrosoft%5CNotepad)%20that%20respected%20the%20user's%20wishes%20for%20default%20coding.%20Or%20maybe%20Notepad%20could%20offer%20to%20set%20the%20coding%20as%20default%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1048102%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1048102%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F475842%22%20target%3D%22_blank%22%3E%40MalTorte%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EWindows%20Registry%20Editor%20Version%205.00%0A%0A%5BHKEY_CURRENT_USER%5CSoftware%5CMicrosoft%5CNotepad%5D%0A%22iDefaultEncoding%22%3Ddword%3A00000001%0A%0A%3B%201%20%3D%20ANSI%0A%3B%202%20%3D%20UTF-16%20LE%0A%3B%203%20%3D%20UTF-16%20BE%0A%3B%204%20%3D%20UTF-8%20BOM%0A%3B%205%20%3D%20UTF-8%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096141%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096141%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F434550%22%20target%3D%22_blank%22%3E%40salclem2%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22%C3%A8%22%20is%20not%20an%20ASCII%20character.%26nbsp%3B%20ASCII%20only%20covers%20codes%200%20to%20127.%26nbsp%3B%20Under%20all%20ANSI%20code%20pages%20and%20UTF-8%2C%20these%20values%20have%20the%20same%20meaning.%26nbsp%3B%20A%20file%20containing%20only%20these%20values%20will%20be%20interpreted%20the%20same%20regardless%20of%20which%20code%20page%20is%20selected%20(excluding%20UTF-16).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1103410%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1103410%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F416594%22%20target%3D%22_blank%22%3E%40lexikos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20true.%20ASCII%20table%20code%20has%20256%20codes%2C%20from%200%20to%20255.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104427%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104427%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F434550%22%20target%3D%22_blank%22%3E%40salclem2%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%2C%20but%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F416594%22%20target%3D%22_blank%22%3E%40lexikos%3C%2FA%3E%26nbsp%3B%26nbsp%3Bis%20actually%20right.%20ASCII%20is%20a%207-bit%20character%20encoding%2C%20which%20means%20it%20has%202%5E7%3D128%20possible%20values.%20What%20you%20mean%20is%20extended%20ASCII%20which%20is%20actually%20a%208-bit%20extension%20to%20original%20ASCII.%20This%20keeps%20the%20original%20128%20ASCII%20encoding%20and%20adds%20another%20128%20on%20top%20of%20it.%3C%2FP%3E%3CP%3ESo%20in%20decimal%20characters%200%20-%20127%20are%20original%20ASCII%20and%20characters%20128%20-%20255%20are%20extended%20ASCII%20characters.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1312368%22%20slang%3D%22en-US%22%3ERe%3A%20Notepad%20Default%20encoding%20UTF8%20Windows%2010%20Version%201903%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1312368%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F395774%22%20target%3D%22_blank%22%3E%401234598765%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Eafter%20a%20big%20battle%20I%20realized%20that%20the%20solution%20was%20provided%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F306569%22%20target%3D%22_blank%22%3E%40abbodi1406%3C%2FA%3E%26nbsp%3B%20%2C%20so%20I%20did%20as%20follows%20and%20it%20works%20like%20a%20charm%3A%3C%2FP%3E%3CP%3E-%20In%20Regedit%20go%20to%26nbsp%3BComputer%5CHKEY_CURRENT_USER%5CSoftware%5CMicrosoft%5CNotepad%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)%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20it%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Visitor

 

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.

 

9 Replies
Highlighted

@1234598765 

 

Hi,


- use Notepad++ which is free
- OR use registry hack:

 

  1. Right click on Desktop, then choose New > Text Document
  2. A text file New Text Document.txt is created. Don't type anything and open it.
  3. Go to File > Save As... and choose UTF-8 under Encoding:, press Save and overwrite the existing file. Close the file.
  4. Rename New Text Document.txt to TXTUTF-8.txt
  5. Copy "TXTUTF-8.txt" to C:\WINDOWS\SHELLNEW
  6. Go to Start > Run... and type regedit and press ok
  7. Navigate to HKEY_CLASSES_ROOT\.txt\ShellNew
  8. Right-click in the right window > New > String Value and rename it to FileName
  9. Double click on FileName and put TXTUTF-8.txt into Value data: field and press ok

Remember, whenever you want to open a blank utf-8 txt document you will have to right click > New > Text Document and work from there.

Modifying the registry can cause serious damage pay attention, please.

Highlighted

@HotCakeXYour instructions are for creating a UTF-8 template document to make UTF-8 a sort of default, which is the opposite of what the OP asked for.  UTF-8 is already the default.

 

This technique will not work if the template file is empty or contains only ASCII text, as it would be byte-for-byte identical in ANSI and UTF-8.  Notepad will just use its default encoding, either ANSI or UTF-8 depending on the version

 

The template file will only be identified with the original encoding if it contains something that causes Notepad to recognize the encoding, such as a UTF-8 BOM (but the OP wants ANSI, not UTF-8), or an ANSI multi-byte sequence that cannot be reinterpreted as valid UTF-8.  For example, a text file containing only "µ" encoded as ANSI (for code page 1252, anyway) will correctly be identified as ANSI.

 

Of course, there's no need to worry about UTF-8 vs. ANSI in the first place if every file contains only ASCII text.

Highlighted

@lexikos 

"Of course, there's no need to worry about UTF-8 vs. ANSI in the first place if every file contains only ASCII text."

 

Wrong. If you write for example "è" in notepad, when you open the file with another text editor, you will see "è" and not "è". Then, there's need to worry about UTF-8 vs ANSI, because "è" has his ASCII code, i.e. 232

Highlighted

@salclem2 

 

It's not quite so easy!

Many people use Notepad for a quick .cmd/.bat file. These will not run under the command interpreter if encoded as UTF-8. The command interpreter simply gives a non-printable character plus the first character of the .cmd/.bat file and "is not recognized as a command" error if run from command prompt. If run as standalone, the window simply blinks open and closes immediately and does not execute the desired commands.

 

Anyone wanting to write a .cmd or .bat now needs to remember to save as ANSI - very inconvenient!

 

It would be very nice to have access to a key (maybe under HKCU\Software\Microsoft\Notepad) that respected the user's wishes for default coding. Or maybe Notepad could offer to set the coding as default?

 

Highlighted

@MalTorte 

Windows Registry Editor Version 5.00

[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

@salclem2 

"è" is not an ASCII character.  ASCII only covers codes 0 to 127.  Under all ANSI code pages and UTF-8, these values have the same meaning.  A file containing only these values will be interpreted the same regardless of which code page is selected (excluding UTF-16).

Highlighted

@lexikos 

Not true. ASCII table code has 256 codes, from 0 to 255.

Highlighted

@salclem2 

 

Sorry, but @lexikos  is actually right. ASCII is a 7-bit character encoding, which means it has 2^7=128 possible values. What you mean is extended ASCII which is actually a 8-bit extension to original ASCII. This keeps the original 128 ASCII encoding and adds another 128 on top of it.

So in decimal characters 0 - 127 are original ASCII and characters 128 - 255 are extended ASCII characters.

Highlighted

@1234598765 

Hello,

after a big battle I realized that the solution was provided by @abbodi1406  , so I did as follows and it works like a charm:

- 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) 

 

That's it :)