ã¦ã£ãªã¢ã ã®ããããããè¡æ©ããé£ã¹ç©ãé³æ¥½çã®å人çè¦è§£ã主ã«æ¸ãããã°ã§ãï¼ãã¾ï½ã«ã³ã³ãã¥ã¼ã¿ã¼é¢ä¿ãï¼ ãããªã®ç°¡åã¸ã£ã³ï¼ MultiByteToWideCharã§ãUTF-8ããUTF16ã«ã㦠WideCharToMultiByteã§ãUTF-16ããSJISã«ããã°ããã ããããã çµäºãã ã£ã¦è¨ã人ãå¤ããã¨ã¯æããã©ã æè¨åã®æªãã¦ã£ãªã¢ã ã®ããããã MultiByteToWideCharã®å¼æ°ã£ã¦ãªãã ã£ãã£ãï¼ ãããã¡ã®å¤§ãããã¨ããã®ã«ãï¼ããããã ã£ãï¼ï¼¾ï¼¾ï¼ï¼ ã¨ããªã£ã¦ãã¾ãã®ã§ã èªåã¸ã®ã¡ã¢ã¨ãããã¨ã§ãããã¦ã¿ã¾ããã ãããªããã unsigned char *MyUtil::utf8ToSjis(char *utf8) { wchar_t* utf16 = NULL; if ( utf8 == NULL ) return NULL; //=
{{#tags}}- {{label}}
{{/tags}}