The main goal of this cheat sheet is to collect some common snippets which are related to Unicode. In Python 3, strings are represented by Unicode instead of bytes. Further information can be found on ...
Web APIとの通信ログ解析や、レガシーシステムへのデータ移行、あるいは国際化対応(i18n)が必要な設定ファイルの編集。 Pythonで開発を行っていると、日本語などのマルチバイト文字をそのままの状態ではなく、\u3042 のような 「ユニコードエスケープ ...