Codage par défaut ou spécifique : valeur de Registre alwayssaveindefaultencoding et 1 autresUtilisateurHKCU\software\policies\microsoft\office\16.0\common\internet
- ID de stratégie
- L_Defaultorspecificencoding
- Étendue
- Configuration utilisateur
- Pris en charge sur
- Au minimum Windows Server 2008 R2 ou Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Catégorie
- Microsoft Office 2016 › Outils | Options | Général | Options web... › Codage
Registre
alwayssaveindefaultencoding
REG_DWORDUtilisateur- Cochée
- 1
- Décochée
- 0
- Élément
- Toujours enregistrer les pages web en utilisant le codage par défaut.
- Type de valeur
- REG_DWORD
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet] ; Options (en utiliser une seule) ; Cochée "alwayssaveindefaultencoding"=dword:00000001 ; Décochée "alwayssaveindefaultencoding"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Cochée reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "alwayssaveindefaultencoding" /t REG_DWORD /d 1 /f :: Décochée reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "alwayssaveindefaultencoding" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null # Options (en utiliser une seule) # Cochée New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'alwayssaveindefaultencoding' -PropertyType DWord -Value 1 -Force | Out-Null # Décochée New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'alwayssaveindefaultencoding' -PropertyType DWord -Value 0 -Force | Out-Null
encoding
REG_DWORDUtilisateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Type de fichier
| Entrée | Valeur stockée |
|---|---|
| Alphabet arabe (Windows) | 1256 |
| Alphabet balte (ISO) | 28594 |
| Alphabet balte (Windows) | 1257 |
| Europe centrale (DOS) | 852 |
| Alphabet d’Europe centrale (ISO) | 28592 |
| Alphabet d’Europe centrale (Windows) | 1250 |
| Chinois simplifié (GB2312) | 936 |
| Chinois simplifié (HZ) | 52936 |
| Chinois traditionnel (Big 5) | 950 |
| Alphabet cyrillique (DOS) | 866 |
| Alphabet cyrillique (ISO) | 28595 |
| Alphabet cyrillique (KOI8-R) | 20866 |
| Alphabet cyrillique (Windows) | 1251 |
| Alphabet grec (ISO) | 28597 |
| Alphabet grec (Windows) | 1253 |
| Alphabet hébreu (Windows) | 1255 |
| Japonais (EUC) | 51932 |
| Japonais (JIS) | 50220 |
| Japonais (JIS-Autoriser les caractères kana à un octet - SO/SI) | 50222 |
| Japonais (JIS-Autoriser les caractères kana à un octet) | 50221 |
| Japonais (Shift-JIS) | 932 |
| Coréen | 949 |
| Alphabet latin 3 (ISO) | 28593 |
| Thaï (Windows) | 874 |
| Alphabet turc | 1254 |
| Alphabet ukrainien (KOI8-R) | 21866 |
| Alphabet universel | 1200 |
| Alphabet universel (Big-Endian) | 1201 |
| Alphabet universel (UTF-8) | 65001 |
| Alphabet vietnamien (Windows) | 1258 |
| Hébreu visuel (ISO) | 28598 |
| Alphabet occidental (Windows) | 1252 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet] ; Options (en utiliser une seule) ; Alphabet arabe (Windows) "encoding"=dword:000004e8 ; Alphabet balte (ISO) "encoding"=dword:00006fb2 ; Alphabet balte (Windows) "encoding"=dword:000004e9 ; Europe centrale (DOS) "encoding"=dword:00000354 ; Alphabet d’Europe centrale (ISO) "encoding"=dword:00006fb0 ; Alphabet d’Europe centrale (Windows) "encoding"=dword:000004e2 ; Chinois simplifié (GB2312) "encoding"=dword:000003a8 ; Chinois simplifié (HZ) "encoding"=dword:0000cec8 ; Chinois traditionnel (Big 5) "encoding"=dword:000003b6 ; Alphabet cyrillique (DOS) "encoding"=dword:00000362 ; Alphabet cyrillique (ISO) "encoding"=dword:00006fb3 ; Alphabet cyrillique (KOI8-R) "encoding"=dword:00005182 ; Alphabet cyrillique (Windows) "encoding"=dword:000004e3 ; Alphabet grec (ISO) "encoding"=dword:00006fb5 ; Alphabet grec (Windows) "encoding"=dword:000004e5 ; Alphabet hébreu (Windows) "encoding"=dword:000004e7 ; Japonais (EUC) "encoding"=dword:0000cadc ; Japonais (JIS) "encoding"=dword:0000c42c ; Japonais (JIS-Autoriser les caractères kana à un octet - SO/SI) "encoding"=dword:0000c42e ; Japonais (JIS-Autoriser les caractères kana à un octet) "encoding"=dword:0000c42d ; Japonais (Shift-JIS) "encoding"=dword:000003a4 ; Coréen "encoding"=dword:000003b5 ; Alphabet latin 3 (ISO) "encoding"=dword:00006fb1 ; Thaï (Windows) "encoding"=dword:0000036a ; Alphabet turc "encoding"=dword:000004e6 ; Alphabet ukrainien (KOI8-R) "encoding"=dword:0000556a ; Alphabet universel "encoding"=dword:000004b0 ; Alphabet universel (Big-Endian) "encoding"=dword:000004b1 ; Alphabet universel (UTF-8) "encoding"=dword:0000fde9 ; Alphabet vietnamien (Windows) "encoding"=dword:000004ea ; Hébreu visuel (ISO) "encoding"=dword:00006fb6 ; Alphabet occidental (Windows) "encoding"=dword:000004e4
CMD
:: Options (en utiliser une seule) :: Alphabet arabe (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1256 /f :: Alphabet balte (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28594 /f :: Alphabet balte (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1257 /f :: Europe centrale (DOS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 852 /f :: Alphabet d’Europe centrale (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28592 /f :: Alphabet d’Europe centrale (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1250 /f :: Chinois simplifié (GB2312) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 936 /f :: Chinois simplifié (HZ) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 52936 /f :: Chinois traditionnel (Big 5) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 950 /f :: Alphabet cyrillique (DOS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 866 /f :: Alphabet cyrillique (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28595 /f :: Alphabet cyrillique (KOI8-R) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 20866 /f :: Alphabet cyrillique (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1251 /f :: Alphabet grec (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28597 /f :: Alphabet grec (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1253 /f :: Alphabet hébreu (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1255 /f :: Japonais (EUC) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 51932 /f :: Japonais (JIS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50220 /f :: Japonais (JIS-Autoriser les caractères kana à un octet - SO/SI) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50222 /f :: Japonais (JIS-Autoriser les caractères kana à un octet) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50221 /f :: Japonais (Shift-JIS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 932 /f :: Coréen reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 949 /f :: Alphabet latin 3 (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28593 /f :: Thaï (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 874 /f :: Alphabet turc reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1254 /f :: Alphabet ukrainien (KOI8-R) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 21866 /f :: Alphabet universel reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1200 /f :: Alphabet universel (Big-Endian) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1201 /f :: Alphabet universel (UTF-8) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 65001 /f :: Alphabet vietnamien (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1258 /f :: Hébreu visuel (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28598 /f :: Alphabet occidental (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1252 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null # Options (en utiliser une seule) # Alphabet arabe (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1256 -Force | Out-Null # Alphabet balte (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28594 -Force | Out-Null # Alphabet balte (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1257 -Force | Out-Null # Europe centrale (DOS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 852 -Force | Out-Null # Alphabet d’Europe centrale (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28592 -Force | Out-Null # Alphabet d’Europe centrale (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1250 -Force | Out-Null # Chinois simplifié (GB2312) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 936 -Force | Out-Null # Chinois simplifié (HZ) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 52936 -Force | Out-Null # Chinois traditionnel (Big 5) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 950 -Force | Out-Null # Alphabet cyrillique (DOS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 866 -Force | Out-Null # Alphabet cyrillique (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28595 -Force | Out-Null # Alphabet cyrillique (KOI8-R) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 20866 -Force | Out-Null # Alphabet cyrillique (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1251 -Force | Out-Null # Alphabet grec (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28597 -Force | Out-Null # Alphabet grec (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1253 -Force | Out-Null # Alphabet hébreu (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1255 -Force | Out-Null # Japonais (EUC) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 51932 -Force | Out-Null # Japonais (JIS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50220 -Force | Out-Null # Japonais (JIS-Autoriser les caractères kana à un octet - SO/SI) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50222 -Force | Out-Null # Japonais (JIS-Autoriser les caractères kana à un octet) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50221 -Force | Out-Null # Japonais (Shift-JIS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 932 -Force | Out-Null # Coréen New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 949 -Force | Out-Null # Alphabet latin 3 (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28593 -Force | Out-Null # Thaï (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 874 -Force | Out-Null # Alphabet turc New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1254 -Force | Out-Null # Alphabet ukrainien (KOI8-R) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 21866 -Force | Out-Null # Alphabet universel New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1200 -Force | Out-Null # Alphabet universel (Big-Endian) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1201 -Force | Out-Null # Alphabet universel (UTF-8) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 65001 -Force | Out-Null # Alphabet vietnamien (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1258 -Force | Out-Null # Hébreu visuel (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28598 -Force | Out-Null # Alphabet occidental (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1252 -Force | Out-Null