預設或指定編碼 的登錄值 alwayssaveindefaultencoding 等 1 個使用者HKCU\software\policies\microsoft\office\16.0\common\internet
- 原則 ID
- L_Defaultorspecificencoding
- 適用範圍
- 使用者設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
- 類別
- Microsoft Office 2016 › 工具 | 選項 | 一般 | Web 選項... › 編碼
登錄
alwayssaveindefaultencoding
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- 總是以預設編碼方式儲存網頁。
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet] ; 選項 (只使用其中一個) ; 已核取 "alwayssaveindefaultencoding"=dword:00000001 ; 未核取 "alwayssaveindefaultencoding"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "alwayssaveindefaultencoding" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "alwayssaveindefaultencoding" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'alwayssaveindefaultencoding' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'alwayssaveindefaultencoding' -PropertyType DWord -Value 0 -Force | Out-Null
encoding
REG_DWORD使用者- 啟用時的值
- 取決於選項值
- 元素
- 將這份文件另存成
| 項目 | 儲存的值 |
|---|---|
| 阿拉伯文字母 (Windows) | 1256 |
| 波羅的海文字母 (ISO) | 28594 |
| 波羅的海文字母 (Windows) | 1257 |
| 中歐語系 (DOS) | 852 |
| 中歐語系字母 (ISO) | 28592 |
| 中歐語系字母 (Windows) | 1250 |
| 簡體中文 (GB2312) | 936 |
| 簡體中文 (HZ) | 52936 |
| 繁體中文 (Big 5) | 950 |
| 斯拉夫文字母 (DOS) | 866 |
| 斯拉夫文字母 (ISO) | 28595 |
| 斯拉夫文字母 (KOI8-R) | 20866 |
| 斯拉夫文字母 (Windows) | 1251 |
| 希臘文字母 (ISO) | 28597 |
| 希臘文字母 (Windows) | 1253 |
| 希伯來文字母 (Windows) | 1255 |
| 日文 (EUC) | 51932 |
| 日文 (JIS) | 50220 |
| 日文 (JIS-允許 1 個位元組片假名 - SO/SI) | 50222 |
| 日文 (JIS-允許 1 個位元組片假名) | 50221 |
| 日文 (Shift-JIS) | 932 |
| 韓文 | 949 |
| 拉丁文 3 字母 (ISO) | 28593 |
| 泰文 (Windows) | 874 |
| 土耳其文字母 | 1254 |
| 烏克蘭文字母 (KOI8-RU) | 21866 |
| 通用字母 | 1200 |
| 通用字母 (Big-Endian) | 1201 |
| 通用字母 (UTF-8) | 65001 |
| 越南文字母 (Windows) | 1258 |
| 視覺希伯來文 (ISO) | 28598 |
| 西歐字母 (Windows) | 1252 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet] ; 選項 (只使用其中一個) ; 阿拉伯文字母 (Windows) "encoding"=dword:000004e8 ; 波羅的海文字母 (ISO) "encoding"=dword:00006fb2 ; 波羅的海文字母 (Windows) "encoding"=dword:000004e9 ; 中歐語系 (DOS) "encoding"=dword:00000354 ; 中歐語系字母 (ISO) "encoding"=dword:00006fb0 ; 中歐語系字母 (Windows) "encoding"=dword:000004e2 ; 簡體中文 (GB2312) "encoding"=dword:000003a8 ; 簡體中文 (HZ) "encoding"=dword:0000cec8 ; 繁體中文 (Big 5) "encoding"=dword:000003b6 ; 斯拉夫文字母 (DOS) "encoding"=dword:00000362 ; 斯拉夫文字母 (ISO) "encoding"=dword:00006fb3 ; 斯拉夫文字母 (KOI8-R) "encoding"=dword:00005182 ; 斯拉夫文字母 (Windows) "encoding"=dword:000004e3 ; 希臘文字母 (ISO) "encoding"=dword:00006fb5 ; 希臘文字母 (Windows) "encoding"=dword:000004e5 ; 希伯來文字母 (Windows) "encoding"=dword:000004e7 ; 日文 (EUC) "encoding"=dword:0000cadc ; 日文 (JIS) "encoding"=dword:0000c42c ; 日文 (JIS-允許 1 個位元組片假名 - SO/SI) "encoding"=dword:0000c42e ; 日文 (JIS-允許 1 個位元組片假名) "encoding"=dword:0000c42d ; 日文 (Shift-JIS) "encoding"=dword:000003a4 ; 韓文 "encoding"=dword:000003b5 ; 拉丁文 3 字母 (ISO) "encoding"=dword:00006fb1 ; 泰文 (Windows) "encoding"=dword:0000036a ; 土耳其文字母 "encoding"=dword:000004e6 ; 烏克蘭文字母 (KOI8-RU) "encoding"=dword:0000556a ; 通用字母 "encoding"=dword:000004b0 ; 通用字母 (Big-Endian) "encoding"=dword:000004b1 ; 通用字母 (UTF-8) "encoding"=dword:0000fde9 ; 越南文字母 (Windows) "encoding"=dword:000004ea ; 視覺希伯來文 (ISO) "encoding"=dword:00006fb6 ; 西歐字母 (Windows) "encoding"=dword:000004e4
CMD
:: 選項 (只使用其中一個) :: 阿拉伯文字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1256 /f :: 波羅的海文字母 (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28594 /f :: 波羅的海文字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1257 /f :: 中歐語系 (DOS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 852 /f :: 中歐語系字母 (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28592 /f :: 中歐語系字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1250 /f :: 簡體中文 (GB2312) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 936 /f :: 簡體中文 (HZ) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 52936 /f :: 繁體中文 (Big 5) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 950 /f :: 斯拉夫文字母 (DOS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 866 /f :: 斯拉夫文字母 (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28595 /f :: 斯拉夫文字母 (KOI8-R) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 20866 /f :: 斯拉夫文字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1251 /f :: 希臘文字母 (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28597 /f :: 希臘文字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1253 /f :: 希伯來文字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1255 /f :: 日文 (EUC) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 51932 /f :: 日文 (JIS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50220 /f :: 日文 (JIS-允許 1 個位元組片假名 - SO/SI) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50222 /f :: 日文 (JIS-允許 1 個位元組片假名) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 50221 /f :: 日文 (Shift-JIS) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 932 /f :: 韓文 reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 949 /f :: 拉丁文 3 字母 (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28593 /f :: 泰文 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 874 /f :: 土耳其文字母 reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1254 /f :: 烏克蘭文字母 (KOI8-RU) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 21866 /f :: 通用字母 reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1200 /f :: 通用字母 (Big-Endian) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1201 /f :: 通用字母 (UTF-8) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 65001 /f :: 越南文字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1258 /f :: 視覺希伯來文 (ISO) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 28598 /f :: 西歐字母 (Windows) reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "encoding" /t REG_DWORD /d 1252 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null # 選項 (只使用其中一個) # 阿拉伯文字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1256 -Force | Out-Null # 波羅的海文字母 (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28594 -Force | Out-Null # 波羅的海文字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1257 -Force | Out-Null # 中歐語系 (DOS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 852 -Force | Out-Null # 中歐語系字母 (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28592 -Force | Out-Null # 中歐語系字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1250 -Force | Out-Null # 簡體中文 (GB2312) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 936 -Force | Out-Null # 簡體中文 (HZ) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 52936 -Force | Out-Null # 繁體中文 (Big 5) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 950 -Force | Out-Null # 斯拉夫文字母 (DOS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 866 -Force | Out-Null # 斯拉夫文字母 (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28595 -Force | Out-Null # 斯拉夫文字母 (KOI8-R) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 20866 -Force | Out-Null # 斯拉夫文字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1251 -Force | Out-Null # 希臘文字母 (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28597 -Force | Out-Null # 希臘文字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1253 -Force | Out-Null # 希伯來文字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1255 -Force | Out-Null # 日文 (EUC) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 51932 -Force | Out-Null # 日文 (JIS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50220 -Force | Out-Null # 日文 (JIS-允許 1 個位元組片假名 - SO/SI) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50222 -Force | Out-Null # 日文 (JIS-允許 1 個位元組片假名) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 50221 -Force | Out-Null # 日文 (Shift-JIS) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 932 -Force | Out-Null # 韓文 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 949 -Force | Out-Null # 拉丁文 3 字母 (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28593 -Force | Out-Null # 泰文 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 874 -Force | Out-Null # 土耳其文字母 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1254 -Force | Out-Null # 烏克蘭文字母 (KOI8-RU) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 21866 -Force | Out-Null # 通用字母 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1200 -Force | Out-Null # 通用字母 (Big-Endian) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1201 -Force | Out-Null # 通用字母 (UTF-8) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 65001 -Force | Out-Null # 越南文字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1258 -Force | Out-Null # 視覺希伯來文 (ISO) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 28598 -Force | Out-Null # 西歐字母 (Windows) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'encoding' -PropertyType DWord -Value 1252 -Force | Out-Null