以下の内容はhttps://blog.systemjp.net/entry/2019/06/05/204320より取得しました。


MFCでUTF-8/UTF-16のファイル読込・保存

普通に読むとsjis前提になっちゃう。

UTF-8

CString line;
FILE *fp;
_tfopen_s(&fp,_T("C:\\utf8.txt"), _T("r, ccs=UTF-8"))
CStdioFile file(fp);
while (file.ReadString(line)) {
    AfxMessageBox(line);
}

file.Close();



以上の内容はhttps://blog.systemjp.net/entry/2019/06/05/204320より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14