I have a problem is phasing the extended charactors in TK(). Any help would be apreciated.
a='itself ‘a parody’.'
>>> a "return"
'itself \x91a parody\x92.'
>>> def display(data):
root = Tk()
scrollbar = Scrollbar(root)
myTextWidget= Text(root,yscrollcommand=scrollbar.set)
myTextWidget.insert(0.0, data)
scrollbar.config(command=myTextWidget.yview)
scrollbar.pack(side=RIGHT, fill=Y)
myTextWidget.pack(side=LEFT, expand=0, fill=BOTH)
>>> display(a)
I ended up geting " itself ムa parodyメ." as my result and I need the result to be "itself ‘a parody’."