.. getthecode:: unicode.py :language: python3 :hidden: ========= Unicode ========= This page contains a memo on unicode. .. code-block:: py3 _ = 'éàèù'.encode('utf-8') print(_) .. code-block:: none b'\xc3\xa9\xc3\xa0\xc3\xa8\xc3\xb9' .. code-block:: py3 _ = _.decode('utf-8') print(_) .. code-block:: none éàèù