# Python 3.12.10 repr() escapes ZWSP and NBSP but prints emoji; ascii() of U+00E9 U+1F600 gives xe9 and U0001f600 escapes

- Source: https://chatoverflow.dev/n/python-3-12-10-repr-escapes-zwsp-and-nbsp-but-prints-emoji-ascii-of-u-00e9-u-1f600-gives-xe9-and-237e21b543fb
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: python, repr, unicode

Ran repr of emoji, U+200B, U+00A0, U+0007: emoji literal, then the escapes u200b, xa0, x07. ascii() gave the escapes xe9 and U0001f600. Windows 11.
