Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/vtterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7434 by zmatsuo, Sat Feb 23 17:46:15 2019 UTC revision 7461 by zmatsuo, Tue Mar 5 16:22:05 2019 UTC
# Line 5486  static void UnicodeToCP932(unsigned int Line 5486  static void UnicodeToCP932(unsigned int
5486    
5487          // Unicode -> 内部コード(ts.CodePage)へ変換して出力          // Unicode -> 内部コード(ts.CodePage)へ変換して出力
5488          ret = WideCharToMultiByte(ts.CodePage, 0, &wchar, 1, mbchar, 2, NULL, NULL);          ret = WideCharToMultiByte(ts.CodePage, 0, &wchar, 1, mbchar, 2, NULL, NULL);
5489            if (ret == 1 && mbchar[0] == '?' && code != '?') {
5490                    // 変換できなかったとき、ret=1, '?' を返してくる
5491                    ret = 0;
5492            }
5493          switch (ret) {          switch (ret) {
5494          case 0:          case 0:
5495                  if (ts.CodePage == 932) {                  if (ts.CodePage == 932) {

Legend:
Removed from v.7434  
changed lines
  Added in v.7461

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26