Here's a weird one:

I have a Tkinter.Text widget that I import data from with inputText.get(1.0,END)

However, later in the program I have the text in an array, but the array has values like:
'u\x00s\x00e\x00r\x00'

Is there a way to decode this weird string to a normal string? I think it's formatted in unicode, but I don't know my string formatting that well.

Thanks!

I didn't understand a bit from above lines.Could you explain a bit more.. or posting your example code may help.
Also try
#coding=<utf8> at the beginning of the code
also configure your terminal or IDLE default source encoding as UTF-8.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.