<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xin9le</author_name>
  <author_url>https://blog.hatena.ne.jp/xin9le/</author_url>
  <blog_title>xin9le.net</blog_title>
  <blog_url>https://xin9le.hatenablog.jp/</blog_url>
  <categories>
    <anon>Tips</anon>
  </categories>
  <description>稀に出くわす Unicode 文字のエスケープシーケンス。以下のようなヤツです。 var text = @&quot;\u3053\u3093\u306b\u3061\u306f\u3001\u4e16\u754c\uff01&quot;; その文字をプログラムで戻さなければならない場合があります。今回はそんな方法のメモ。 正規表現の置換を使う ストレートな方法としては、正規表現で '\u....'と入ってる場所を探し出して置換してしまうというのがあるでしょう。サンプルとしては以下のようになります。毎回書くのがダルいですが、メソッド化してしまえば良いですね。 var result = Regex.Replace …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxin9le.hatenablog.jp%2Fentry%2F2015%2F02%2F08%2F212947&quot; title=&quot;Unicodeエスケープ文字を元に戻す - xin9le.net&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>2015-02-08 21:29:47</published>
  <title>Unicodeエスケープ文字を元に戻す</title>
  <type>rich</type>
  <url>https://xin9le.hatenablog.jp/entry/2015/02/08/212947</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
