<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ukonlly</author_name>
  <author_url>https://blog.hatena.ne.jp/ukonlly/</author_url>
  <blog_title>開発めも２</blog_title>
  <blog_url>https://ukonlly.hatenablog.jp/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>JSON系モジュールを使わずに直接まともに見れる形に変換したいが、なかなか情報がなかった。 use Encode;## test print encode(&quot;UTF-8&quot;, &quot;\x{3042}&quot;); ## &quot;あ&quot;## 変換したいUTF16な文字列 my $str = '\u3042';$str =~ s/\\u(:xdigit:{4})/chr eval &quot;0x$1&quot;/eg; $str = encode(&quot;UTF-8&quot;, $str); print &quot;$str¥n&quot;; ## &quot;あ&quot; 参考： utf16の記号のutf8へのエンコード（もしくはマッチ又は削除）がう - Perl | 教えて！goo</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fukonlly.hatenablog.jp%2Fentry%2F2015%2F02%2F22%2F170832&quot; title=&quot; JSON形式のマルチバイト文字（UTF16）をUTF8変換する - 開発めも２&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-22 17:08:32</published>
  <title> JSON形式のマルチバイト文字（UTF16）をUTF8変換する</title>
  <type>rich</type>
  <url>https://ukonlly.hatenablog.jp/entry/2015/02/22/170832</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
