Convert \X Unicode Utf 8 Bytes To \U Python June 15, 2022 by Rajeswari Palanivel convert \x unicode utf 8 bytes to \u python >>> '\xc5\x81'.decode('utf-8') u'\u0141' Source: stackoverflow.com