Revision: 9747 https://osdn.net/projects/ttssh2/scm/svn/commits/9747 Author: zmatsuo Date: 2022-02-17 22:14:24 +0900 (Thu, 17 Feb 2022) Log Message: ----------- インストーラの CodePage 設定箇所を削除 - CodePage は使用しなくなった(r7405) Revision Links: -------------- https://osdn.net/projects/ttssh2/scm/svn/commits/7405 Modified Paths: -------------- trunk/installer/release/TERATERM.INI trunk/installer/setini.pl trunk/installer/teraterm.iss trunk/installer/teraterm_cmake.iss.in -------------- next part -------------- Modified: trunk/installer/release/TERATERM.INI =================================================================== --- trunk/installer/release/TERATERM.INI 2022-02-17 13:14:15 UTC (rev 9746) +++ trunk/installer/release/TERATERM.INI 2022-02-17 13:14:24 UTC (rev 9747) @@ -125,9 +125,6 @@ ;Locale=chs Locale= -; CodePage for Unicode -CodePage= - ; Background color of text uses background color of screen (on/off) UseNormalBGColor=on Modified: trunk/installer/setini.pl =================================================================== --- trunk/installer/setini.pl 2022-02-17 13:14:15 UTC (rev 9746) +++ trunk/installer/setini.pl 2022-02-17 13:14:24 UTC (rev 9747) @@ -4,7 +4,6 @@ while(<INI>){ s/^(Language\s*=).*$/$1Japanese/; s/^(Locale\s*=).*$/$1japanese/; - s/^(CodePage\s*=).*$/${1}932/; # s/^(VTFont\s*=).*$/$1Terminal,0,-19,128/; s/^(VTFont\s*=).*$/$1\x82l\x82r \x83S\x83V\x83b\x83N,0,-16,128/; s/^(TEKFont\s*=).*$/$1Terminal,0,8,128/; Modified: trunk/installer/teraterm.iss =================================================================== --- trunk/installer/teraterm.iss 2022-02-17 13:14:15 UTC (rev 9746) +++ trunk/installer/teraterm.iss 2022-02-17 13:14:24 UTC (rev 9747) @@ -484,7 +484,6 @@ var Language : String; Locale : String; - CodePage : integer; VTFont : String; TEKFont : String; TCPPort : integer; @@ -494,7 +493,6 @@ begin Language := GetIniString('Tera Term', 'Language', '', iniFile); Locale := GetIniString('Tera Term', 'Locale', '', iniFile); - CodePage := GetIniInt('Tera Term', 'CodePage', 0, 0, 0, iniFile); VTFont := GetIniString('Tera Term', 'VTFont', '', iniFile); TEKFont := GetIniString('Tera Term', 'TEKFont', '', iniFile); TCPPort := GetIniInt('Tera Term', 'TCPPort', 0, 0, 65535, iniFile) @@ -510,15 +508,11 @@ begin if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'cht', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 950, iniFile); end; else begin if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'chs', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 936, iniFile); end; end; @@ -535,8 +529,6 @@ SetIniString('Tera Term', 'Language', 'Japanese', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'japanese', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 932, iniFile); if Length(VTFont) = 0 then SetIniString('Tera Term', 'VTFont', 'Terminal,0,-19,128', iniFile); if Length(TEKFont) = 0 then @@ -548,8 +540,6 @@ SetIniString('Tera Term', 'Language', 'Korean', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'korean', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 949, iniFile); if Length(VTFont) = 0 then SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile); if Length(TEKFont) = 0 then @@ -561,8 +551,6 @@ SetIniString('Tera Term', 'Language', 'Russian', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'russian', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 1251, iniFile); if Length(VTFont) = 0 then SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile); if Length(TEKFont) = 0 then @@ -577,8 +565,6 @@ SetIniString('Tera Term', 'Language', 'UTF-8', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'american', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 65001, iniFile); end else begin // Other @@ -586,8 +572,6 @@ SetIniString('Tera Term', 'Language', 'English', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'english', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 1252, iniFile); end; Modified: trunk/installer/teraterm_cmake.iss.in =================================================================== --- trunk/installer/teraterm_cmake.iss.in 2022-02-17 13:14:15 UTC (rev 9746) +++ trunk/installer/teraterm_cmake.iss.in 2022-02-17 13:14:24 UTC (rev 9747) @@ -477,7 +477,6 @@ var Language : String; Locale : String; - CodePage : integer; VTFont : String; TEKFont : String; TCPPort : integer; @@ -487,7 +486,6 @@ begin Language := GetIniString('Tera Term', 'Language', '', iniFile); Locale := GetIniString('Tera Term', 'Locale', '', iniFile); - CodePage := GetIniInt('Tera Term', 'CodePage', 0, 0, 0, iniFile); VTFont := GetIniString('Tera Term', 'VTFont', '', iniFile); TEKFont := GetIniString('Tera Term', 'TEKFont', '', iniFile); TCPPort := GetIniInt('Tera Term', 'TCPPort', 0, 0, 65535, iniFile) @@ -503,15 +501,11 @@ begin if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'cht', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 950, iniFile); end; else begin if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'chs', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 936, iniFile); end; end; @@ -528,8 +522,6 @@ SetIniString('Tera Term', 'Language', 'Japanese', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'japanese', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 932, iniFile); if Length(VTFont) = 0 then SetIniString('Tera Term', 'VTFont', 'Terminal,0,-19,128', iniFile); if Length(TEKFont) = 0 then @@ -541,8 +533,6 @@ SetIniString('Tera Term', 'Language', 'Korean', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'korean', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 949, iniFile); if Length(VTFont) = 0 then SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile); if Length(TEKFont) = 0 then @@ -554,8 +544,6 @@ SetIniString('Tera Term', 'Language', 'Russian', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'russian', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 1251, iniFile); if Length(VTFont) = 0 then SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile); if Length(TEKFont) = 0 then @@ -570,8 +558,6 @@ SetIniString('Tera Term', 'Language', 'UTF-8', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'american', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 65001, iniFile); end else begin // Other @@ -579,8 +565,6 @@ SetIniString('Tera Term', 'Language', 'English', iniFile); if Length(Locale) = 0 then SetIniString('Tera Term', 'Locale', 'english', iniFile); - if CodePage = 0 then - SetIniInt('Tera Term', 'CodePage', 1252, iniFile); end;