<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>VC++</anon>
  </categories>
  <description>VC++8.0(2005) 以降の fopen では ccs でエンコーディングを指定することができるMSDN - fopen, _wfopen CStdioFile は FILE* を受け取ることができるので以下のようにできる まずは読み込み UTF-8 CString line; CStdioFile file(_tfopen(_T(&quot;C:\\utf8.txt&quot;), _T(&quot;r, ccs=UTF-8&quot;))); while (file.ReadString(line)) { AfxMessageBox(line); } file.Close(); UTF-16 CString line; C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20080724%2F1216890457&quot; title=&quot; MFC - UTF-8/UTF-16のファイル読込・保存 - Faith and Brave - C++で遊ぼう&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-07-24 18:07:37</published>
  <title> MFC - UTF-8/UTF-16のファイル読込・保存</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20080724/1216890457</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
