<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s51517765</author_name>
  <author_url>https://blog.hatena.ne.jp/s51517765/</author_url>
  <blog_title>プログラミング素人のはてなブログ</blog_title>
  <blog_url>https://s51517765.hatenadiary.jp/</blog_url>
  <categories>
    <anon>python_3</anon>
  </categories>
  <description>特定のscript(python file)のみコンソールで文字化けするようになった。文字化け「文字化け」というのはテキストの文字コードとそれを解釈するプログラム（ここではpycharmもしくはpython）の間でちがう換算をすることで誤って文字が表示されることです。 たとえば、UTF-8で「あいうえお」と書いたものはUTF-8で解釈するから「あいうえお」と表示できるのであって、このとき文字コードを指定しないと、たとえば「Shift-JIS」で解釈されると困るわけです。通常、pythonでは # -*- coding: utf-8 -*- のような記述をscript fileに書き込むことで、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs51517765.hatenadiary.jp%2Fentry%2F2019%2F09%2F02%2F073000&quot; title=&quot;PyCharmのコンソールの文字化けが直らない - プログラミング素人のはてなブログ&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-02 07:30:00</published>
  <title>PyCharmのコンソールの文字化けが直らない</title>
  <type>rich</type>
  <url>https://s51517765.hatenadiary.jp/entry/2019/09/02/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
