[Python Glasgow] Help with string ascii characters

Dougal Matthews dougal at dougalmatthews.com
Thu Jul 30 23:29:04 CEST 2015


Do you know what encoding the file is? Where does the text come from? I guess that is the problem really.





On Wed, Jul 29, 2015 at 3:55 AM -0700, "Marc Cameron" <marccameron3d at gmail.com> wrote:










Hey all,
I am currently reciving strings as such:
The Elder Scrolls V: Skyrim® - Hearthfire™
Although my python code is throwing up an error with regards to the R character at the end, is there anyway I can retrive and print the string exactly as it is displayed?
I think im on my way there with encode/decode but not sure exactly how to go about it.
I am able to get past the error with with .encode('utf8') but I retrieve this string:
The Elder Scrolls V: Skyrim┬« - HearthfireÔäó 
Cheers,
Marc Cameron
Contract Technical Artist and AR Generalistt: +447595491710
e: marccameron3D at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/glasgow/attachments/20150730/1177e5f0/attachment.html>


More information about the Glasgow mailing list