Default or specific encoding: registry value alwayssaveindefaultencoding and 1 moreUserHKCU\software\policies\microsoft\office\16.0\common\internet

Policy ID
L_Defaultorspecificencoding
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Office 2016 › Tools | Options | General | Web Options... › Encoding

Registry

alwayssaveindefaultencoding

REG_DWORDUser
Checked
1
Unchecked
0
Element
Always save Web pages in the default encoding.
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet]

; Options (use only one)
; Checked
"alwayssaveindefaultencoding"=dword:00000001
; Unchecked
"alwayssaveindefaultencoding"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "alwayssaveindefaultencoding" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "alwayssaveindefaultencoding" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'alwayssaveindefaultencoding' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'alwayssaveindefaultencoding' -PropertyType DWord -Value 0 -Force | Out-Null

encoding

REG_DWORDUser
Enabled value
Depends on the option value
Element
Save this document as
Options
ItemStored value
Arabic Alphabet (Windows)1256
Baltic Alphabet (ISO)28594
Baltic Alphabet (Windows)1257
Central European (DOS)852
Central European Alphabet (ISO)28592
Central European Alphabet (Windows)1250
Chinese Simplified (GB2312)936
Chinese Simplified (HZ)52936
Chinese Traditional (Big 5)950
Cyrillic Alphabet (DOS)866
Cyrillic Alphabet (ISO)28595
Cyrillic Alphabet (KOI8-R)20866
Cyrillic Alphabet (Windows)1251
Greek Alphabet (ISO)28597
Greek Alphabet (Windows)1253
Hebrew Alphabet (Windows)1255
Japanese (EUC)51932
Japanese (JIS)50220
Japanese (JIS-Allow 1 byte Kana - SO/SI)50222
Japanese (JIS-Allow 1 byte Kana)50221
Japanese (Shift-JIS)932
Korean949
Latin 3 Alphabet (ISO)28593
Thai (Windows)874
Turkish Alphabet1254
Ukrainian Alphabet (KOI8-RU)21866
Universal Alphabet1200
Universal Alphabet (Big-Endian)1201
Universal Alphabet (UTF-8)65001
Vietnamese Alphabet (Windows)1258
Visual Hebrew (ISO)28598
Western Alphabet (Windows)1252
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet]

; Options (use only one)
; Arabic Alphabet (Windows)
"encoding"=dword:000004e8
; Baltic Alphabet (ISO)
"encoding"=dword:00006fb2
; Baltic Alphabet (Windows)
"encoding"=dword:000004e9
; Central European (DOS)
"encoding"=dword:00000354
; Central European Alphabet (ISO)
"encoding"=dword:00006fb0
; Central European Alphabet (Windows)
"encoding"=dword:000004e2
; Chinese Simplified (GB2312)
"encoding"=dword:000003a8
; Chinese Simplified (HZ)
"encoding"=dword:0000cec8
; Chinese Traditional (Big 5)
"encoding"=dword:000003b6
; Cyrillic Alphabet (DOS)
"encoding"=dword:00000362
; Cyrillic Alphabet (ISO)
"encoding"=dword:00006fb3
; Cyrillic Alphabet (KOI8-R)
"encoding"=dword:00005182
; Cyrillic Alphabet (Windows)
"encoding"=dword:000004e3
; Greek Alphabet (ISO)
"encoding"=dword:00006fb5
; Greek Alphabet (Windows)
"encoding"=dword:000004e5
; Hebrew Alphabet (Windows)
"encoding"=dword:000004e7
; Japanese (EUC)
"encoding"=dword:0000cadc
; Japanese (JIS)
"encoding"=dword:0000c42c
; Japanese (JIS-Allow 1 byte Kana - SO/SI)
"encoding"=dword:0000c42e
; Japanese (JIS-Allow 1 byte Kana)
"encoding"=dword:0000c42d
; Japanese (Shift-JIS)
"encoding"=dword:000003a4
; Korean
"encoding"=dword:000003b5
; Latin 3 Alphabet (ISO)
"encoding"=dword:00006fb1
; Thai (Windows)
"encoding"=dword:0000036a
; Turkish Alphabet
"encoding"=dword:000004e6
; Ukrainian Alphabet (KOI8-RU)
"encoding"=dword:0000556a
; Universal Alphabet
"encoding"=dword:000004b0
; Universal Alphabet (Big-Endian)
"encoding"=dword:000004b1
; Universal Alphabet (UTF-8)
"encoding"=dword:0000fde9
; Vietnamese Alphabet (Windows)
"encoding"=dword:000004ea
; Visual Hebrew (ISO)
"encoding"=dword:00006fb6
; Western Alphabet (Windows)
"encoding"=dword:000004e4
CMD
:: Options (use only one)

:: Arabic Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1256 /f
:: Baltic Alphabet (ISO)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28594 /f
:: Baltic Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1257 /f
:: Central European (DOS)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 852 /f
:: Central European Alphabet (ISO)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28592 /f
:: Central European Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1250 /f
:: Chinese Simplified (GB2312)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 936 /f
:: Chinese Simplified (HZ)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 52936 /f
:: Chinese Traditional (Big 5)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 950 /f
:: Cyrillic Alphabet (DOS)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 866 /f
:: Cyrillic Alphabet (ISO)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28595 /f
:: Cyrillic Alphabet (KOI8-R)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 20866 /f
:: Cyrillic Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1251 /f
:: Greek Alphabet (ISO)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28597 /f
:: Greek Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1253 /f
:: Hebrew Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1255 /f
:: Japanese (EUC)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 51932 /f
:: Japanese (JIS)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50220 /f
:: Japanese (JIS-Allow 1 byte Kana - SO/SI)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50222 /f
:: Japanese (JIS-Allow 1 byte Kana)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50221 /f
:: Japanese (Shift-JIS)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 932 /f
:: Korean
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 949 /f
:: Latin 3 Alphabet (ISO)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28593 /f
:: Thai (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 874 /f
:: Turkish Alphabet
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1254 /f
:: Ukrainian Alphabet (KOI8-RU)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 21866 /f
:: Universal Alphabet
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1200 /f
:: Universal Alphabet (Big-Endian)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1201 /f
:: Universal Alphabet (UTF-8)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 65001 /f
:: Vietnamese Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1258 /f
:: Visual Hebrew (ISO)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28598 /f
:: Western Alphabet (Windows)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1252 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null

# Options (use only one)
# Arabic Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1256 -Force | Out-Null
# Baltic Alphabet (ISO)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28594 -Force | Out-Null
# Baltic Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1257 -Force | Out-Null
# Central European (DOS)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 852 -Force | Out-Null
# Central European Alphabet (ISO)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28592 -Force | Out-Null
# Central European Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1250 -Force | Out-Null
# Chinese Simplified (GB2312)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 936 -Force | Out-Null
# Chinese Simplified (HZ)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 52936 -Force | Out-Null
# Chinese Traditional (Big 5)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 950 -Force | Out-Null
# Cyrillic Alphabet (DOS)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 866 -Force | Out-Null
# Cyrillic Alphabet (ISO)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28595 -Force | Out-Null
# Cyrillic Alphabet (KOI8-R)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 20866 -Force | Out-Null
# Cyrillic Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1251 -Force | Out-Null
# Greek Alphabet (ISO)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28597 -Force | Out-Null
# Greek Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1253 -Force | Out-Null
# Hebrew Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1255 -Force | Out-Null
# Japanese (EUC)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 51932 -Force | Out-Null
# Japanese (JIS)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50220 -Force | Out-Null
# Japanese (JIS-Allow 1 byte Kana - SO/SI)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50222 -Force | Out-Null
# Japanese (JIS-Allow 1 byte Kana)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50221 -Force | Out-Null
# Japanese (Shift-JIS)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 932 -Force | Out-Null
# Korean
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 949 -Force | Out-Null
# Latin 3 Alphabet (ISO)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28593 -Force | Out-Null
# Thai (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 874 -Force | Out-Null
# Turkish Alphabet
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1254 -Force | Out-Null
# Ukrainian Alphabet (KOI8-RU)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 21866 -Force | Out-Null
# Universal Alphabet
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1200 -Force | Out-Null
# Universal Alphabet (Big-Endian)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1201 -Force | Out-Null
# Universal Alphabet (UTF-8)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 65001 -Force | Out-Null
# Vietnamese Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1258 -Force | Out-Null
# Visual Hebrew (ISO)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28598 -Force | Out-Null
# Western Alphabet (Windows)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1252 -Force | Out-Null