Use UTF-8 for mailto links
Utiliser UTF-8 pour les liens mailto
Explanation
This policy setting allows you to manage whether Internet Explorer uses 8-bit Unicode Transformation Format (UTF-8) for mailto links.
If you enable this policy setting, Internet Explorer encodes mailto links in UTF-8.
If you disable or do not configure this policy setting, Internet Explorer sends mailto links encoded through the user's code page. This behavior matches the behavior of Internet Explorer 6 and earlier. The user can change this behavior on the Internet Explorer Tools menu: Click Internet Options, click the Advanced tab, and then under International, select the "Use UTF-8 for mailto links" check box.
Ce paramètre de stratégie vous permet de définir si Internet Explorer utilise le format UTF-8 pour les liens mailto.
Si vous activez ce paramètre de stratégie, Internet Explorer encode les liens mailto au format UTF-8.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Internet Explorer envoie les liens mailto encodés selon la page de codes de l’utilisateur actuel. Ce comportement correspond à celui d’Internet Explorer 6 et versions antérieures. L’utilisateur peut modifier ce comportement dans le menu Outils d’Internet Explorer : cliquez sur Options Internet, sur l’onglet Avancé, puis, sous la zone International, activez la case à cocher « Utiliser UTF-8 pour les liens mailto ».
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Protocols\MailtoHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Protocols\Mailto- Value name
UTF8Encoding
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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.
Computer (HKLM)
Enable
# Enable: inetres/ControlPanel_SendUTF8Query
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Protocols\Mailto'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UTF8Encoding' -Value 1 -Type DWordDisable
# Disable: inetres/ControlPanel_SendUTF8Query
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Protocols\Mailto'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UTF8Encoding' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/ControlPanel_SendUTF8Query
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Protocols\Mailto'
Remove-ItemProperty -Path $k -Name 'UTF8Encoding' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"