<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuukichi41</author_name>
  <author_url>https://blog.hatena.ne.jp/yuukichi41/</author_url>
  <blog_title>yuukichiの日記</blog_title>
  <blog_url>https://yuukichi.hatenablog.com/</blog_url>
  <categories>
    <anon>golang</anon>
  </categories>
  <description>UTF-8-MACをUTF-8に変換したくて四苦八苦していたんですが、UTF-8-MACはUTF-8を正規化したもので、iconvが独自に命名しているものとのことで、そこら辺を踏まえて調べてみたら、 Golang: Unicode 正規化 - Sarabande.jp この記事に正規化の方法が載ってたので、これを参考に import &quot;code.google.com/p/go.text/unicode/norm&quot; func DenormalizeUnicodeString(str string) string { buf := []byte(str) buf = norm.NFC.Bytes(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuukichi.hatenablog.com%2Fentry%2F2014%2F08%2F11%2Fgolang%25E3%2581%25A7UTF-8-MAC%25E2%2586%2592UTF-8&quot; title=&quot;golangでUTF-8-MAC→UTF-8 - yuukichiの日記&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>2014-08-11 09:36:28</published>
  <title>golangでUTF-8-MAC→UTF-8</title>
  <type>rich</type>
  <url>https://yuukichi.hatenablog.com/entry/2014/08/11/golang%E3%81%A7UTF-8-MAC%E2%86%92UTF-8</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
