Ignore:
Timestamp:
Aug 23, 2017, 9:27:43 AM (7 years ago)
Author:
coas-nagasima
Message:

文字コードを設定

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/ntshell/fatfs/ff.c

    • Property svn:keywords deleted
    • Property svn:mime-type changed from text/x-csrc to text/x-csrc;charset=UTF-8
    r279 r321  
    325325        ret_code[0] = ret_code[1] = ret_code[2] = ret_code[3] = 0;
    326326
    327         if (chr <= 0x7f) {  // ASCII互換
     327        if (chr <= 0x7f) {  // ASCII互換
    328328                ret_code[0] = chr;
    329329                *ret_size = 1;
     
    375375}
    376376
    377 //2バイトのUTF-16コードが得られる
     377//2バイトのUTF-16コードが得られる
    378378WCHAR Utf8_to_Utf16(const char *src, int *code_size)
    379379{
     
    396396        }
    397397
    398         //消費文字数設定
     398        //消費文字数設定
    399399        *code_size = i;
    400400
    401         //現状、2バイト限定
     401        //現状、2バイト限定
    402402        return uc;
    403403}
Note: See TracChangeset for help on using the changeset viewer.