<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>某所で CentOS 7 で mysql コマンドで日本語入力ができないという話を見かけた。 mysql&gt; プロンプトで日本語を入力しようとしても確定すると消えてしまうらしい。 自分は Ubuntu で普通に入力できてるので調べてみた。 結論からいうと、これはロケールの問題で locale -a コマンドの出力中に ja_JP.utf8 があって、ロケール(環境変数 LC_ALL, LC_CTYPE, LANG 等の値)が ja_JP.UTF-8 になっていれば問題ない。 もう一つ。CentOS 7 で絵文字を入力すると、絵文字ではなく \U+1F37A みたいに表示される。表示だけの問題なの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F202011%2Fcentos7-mysql-japanese&quot; title=&quot;CentOS 7 の mysql コマンドでの日本語入力 - tmtms のメモ&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>2020-11-08 23:25:03</published>
  <title>CentOS 7 の mysql コマンドでの日本語入力</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/202011/centos7-mysql-japanese</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
