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 2523 by doda, Wed May 21 04:29:47 2008 UTC revision 2527 by doda, Fri May 23 09:48:19 2008 UTC
# Line 2886  BOOL ParseFirstUTF8(BYTE b, int hfsplus_ Line 2886  BOOL ParseFirstUTF8(BYTE b, int hfsplus_
2886    
2887          locptr = setlocale(LC_ALL, ts.Locale);          locptr = setlocale(LC_ALL, ts.Locale);
2888    
2889          if ((b & 0x80) != 0x80) { // ASCII(0x00-0x7f)          if ((b & 0x80) != 0x80 || ((b & 0xe0) == 0x80 && count == 0)) {
2890                  // 1バイト目および2バイト目がASCIIの場合は、すべてASCII出力とする。                  // 1バイト目および2バイト目がASCIIの場合は、すべてASCII出力とする。
2891                    // 1バイト目がC1制御文字(0x80-0x9f)の場合も同様。
2892                  if (count == 0 || count == 1) {                  if (count == 0 || count == 1) {
2893                          if (hfsplus_mode == 1 && maybe_hfsplus == 1) {                          if (hfsplus_mode == 1 && maybe_hfsplus == 1) {
2894                                  UnicodeToCP932(first_code, 3);                                  UnicodeToCP932(first_code, 3);

Legend:
Removed from v.2523  
changed lines
  Added in v.2527

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