エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Issue 2517: Error when printing an exception containing a Unicode string - moriyoshiの日記
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Issue 2517: Error when printing an exception containing a Unicode string - moriyoshiの日記
この先が気になって調べてみた。 Issue 2517: Error when printing an exception containing a Unicode ... この先が気になって調べてみた。 Issue 2517: Error when printing an exception containing a Unicode string この問題は デフォルトのエンコーディングが ascii となっている件 →デフォルトのエンコーディングが「何のための」エンコーディングのデフォルトなのかが曖昧である点 Exception type が __unicode__() を実装していない件 などが関係していると思うんだけど、 2. については Python 2.6 では一応解消している。 Python 2.6.2 (r262:71600, Jun 4 2009, 14:03:50) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more informat