Default or specific encoding
Explanation
When enabled, either default encoding or a specified encoding will be used.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: office16/L_Defaultorspecificencoding
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\internet'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Always save Web pages in the default encoding.
# unchecked: 0
Set-ItemProperty -Path $k -Name 'alwayssaveindefaultencoding' -Value 1 -Type DWord
# Save this document as
# Possible options:
# 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; Korean = 949
# Latin 3 Alphabet (ISO) = 28593; Thai (Windows) = 874; Turkish Alphabet = 1254
# Ukrainian Alphabet (KOI8-RU) = 21866; Universal Alphabet = 1200
# Universal Alphabet (Big-Endian) = 1201; Universal Alphabet (UTF-8) = 65001
# Vietnamese Alphabet (Windows) = 1258; Visual Hebrew (ISO) = 28598
# Western Alphabet (Windows) = 1252
Set-ItemProperty -Path $k -Name 'encoding' -Value 1252 -Type DWordDisable
# Disable: office16/L_Defaultorspecificencoding
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": office16/L_Defaultorspecificencoding
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\internet'
Remove-ItemProperty -Path $k -Name 'alwayssaveindefaultencoding' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'encoding' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Always save Web pages in the default encoding.L_AlwayssaveWebpagesinthedefaultencoding | Check boxboolean | alwayssaveindefaultencoding | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Save this document asL_Savethisdocumentas | Drop-down listenum | encoding | REG_DWORD | Default choice (UI): #31
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.