Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Sahar Nasiri
Sahar Nasiri
7,454 Points

Unicode Encoding

I have a unicode which is: u'\u062a\u0631\u0627\u0645\u067e \u0645\u06cc \u06af\u0647 \u0628\u0647 \u0647\u0645\u0647 \u0648\u0639\u062f\u0647 \u0647\u0627\u0645 \u062f\u0631 100 \u0631\u0648\u0632 \u0639\u0645\u0644 \u06a9\u0631\u062f\u0647 \u0627\u0645.\u0645\u0648\u0641\u0642 \u062a\u0631\u06cc\u0646 \u0627\u0645. \u0642\u0627\u0644\u06cc\u0628\u0627\u0641 \u0628\u0639\u062f \u0627\u0632 \u0628\u0627\u062e\u062a \u062f\u0631 \u0627\u0646\u062a\u062e\u0627\u0628\u0627\u062a \u0628\u0631\u0648\u062f \u0628\u0627 \u062f\u0627\u0646\u0627\u0644\u062f \u06a9\u0627\u0631 \u06a9\u0646\u062f. \u0647\u0645 \u0641\u0627\u0632 \u0627\u0646\u062f'

The language of this Unicode is Persian, and I cannot encode it to Persian letters. Does anyone know how to handle it in Python?