<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kachine</author_name>
  <author_url>https://blog.hatena.ne.jp/kachine/</author_url>
  <blog_title>記憶は人なり</blog_title>
  <blog_url>https://wave.hatenablog.com/</blog_url>
  <categories>
    <anon>PC</anon>
  </categories>
  <description>いまいちなタイトルですが、正確には「コマンドプロンプトからWSLを使ってマルチバイト文字*1をパイプで扱うとコマンドプロンプトのコードページが壊れる」という現象に遭遇しています。恐らくコマンドプロンプト(cmd.exe)ではなくconhost.exeまたはWSLのバグなのではないかと思うのですが…。 *1:後述のように、実はマルチバイト文字に限らず半角英数でも発生していました。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwave.hatenablog.com%2Fentry%2F2019%2F01%2F21%2F073700&quot; title=&quot;cmdからWSLを使って日本語文字列をパイプで扱うとcmdのコードページが壊れる - 記憶は人なり&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>2019-01-21 07:37:00</published>
  <title>cmdからWSLを使って日本語文字列をパイプで扱うとcmdのコードページが壊れる</title>
  <type>rich</type>
  <url>https://wave.hatenablog.com/entry/2019/01/21/073700</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
