<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Emcas</anon>
  </categories>
  <description>前回に引き続き、Emacsの小ネタ。最近、悩まされている文字コードまわりのお話。 文字コードを指定してファイルを開く まずは１つ目。文字コードを指定してファイルを開きたい場合。C-xRETcで文字コードを指定したあと、続けてC-xC-fを入力してファイルを開いてやれば良い。 ファイルの文字コードを指定する そして、もう１つ。ファイルの先頭に「-*- coding:文字コード -*-」と書く事で、そのファイルの文字コードを指定することができる。例えば、UTF-8で書かれたC言語のソースファイルの場合、 // -*- coding:utf-8 -*- #include &lt;stdio.h&gt; // 日…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20070115%2Femacs&quot; title=&quot;文字コードネタ - みずぴー日記&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>2007-01-15 00:00:00</published>
  <title>文字コードネタ</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20070115/emacs</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
