Web Archive encoding: registry value allow8bitmimeUserHKCU\software\policies\microsoft\office\16.0\common\internet

Policy ID
L_WebArchiveencoding
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 › Web Archives

Registry

allow8bitmime

REG_DWORDUser
Enabled value
Depends on the option value
Element
Web Archive encoding
Options
ItemStored value
Use 8 bit content-transfer-encoding2
Use 8 bit only for encoding text parts1
Use RFC-approved encoding0
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)
; Use 8 bit content-transfer-encoding
"allow8bitmime"=dword:00000002
; Use 8 bit only for encoding text parts
"allow8bitmime"=dword:00000001
; Use RFC-approved encoding
"allow8bitmime"=dword:00000000
CMD
:: Options (use only one)

:: Use 8 bit content-transfer-encoding
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "allow8bitmime" /t REG_DWORD /d 2 /f
:: Use 8 bit only for encoding text parts
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "allow8bitmime" /t REG_DWORD /d 1 /f
:: Use RFC-approved encoding
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "allow8bitmime" /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)
# Use 8 bit content-transfer-encoding
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'allow8bitmime' -PropertyType DWord -Value 2 -Force | Out-Null
# Use 8 bit only for encoding text parts
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'allow8bitmime' -PropertyType DWord -Value 1 -Force | Out-Null
# Use RFC-approved encoding
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'allow8bitmime' -PropertyType DWord -Value 0 -Force | Out-Null