<div dir="ltr">Hey Dougal,<div><br></div><div>Im sure its pretty basic but this was my solution.</div><div><br></div><div>".encode('ascii', 'ignore')"</div><div><br></div><div>Cheers,</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Marc Cameron<div><br><font><b><font>Contract Technical Artist and AR Generalist</font></b></font><div><font color="#00ffff">t:</font><span style="color:rgb(51,204,255)"> </span><u style="font-family:arial;font-size:small"><font color="#1155cc">+44</font><font color="#3366ff">7</font><font color="#3366ff">595491710</font></u><br><font color="#00ffff">e:</font><font color="#1155cc"> <a href="mailto:marccameron3D@gmail.com" target="_blank">marccameron3D@gmail.com</a></font></div></div></div></div></div>
<br><div class="gmail_quote">On 30 July 2015 at 22:29, Dougal Matthews <span dir="ltr"><<a href="mailto:dougal@dougalmatthews.com" target="_blank">dougal@dougalmatthews.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Do you know what encoding the file is? Where does the text come from? I guess that is the problem really.<br><div></div><br></div><div><div class="h5"><br><br><br>
<div class="gmail_quote">On Wed, Jul 29, 2015 at 3:55 AM -0700, "Marc Cameron" <span dir="ltr"><<a href="mailto:marccameron3d@gmail.com" target="_blank">marccameron3d@gmail.com</a>></span> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="3D"ltr"">
<div dir="ltr">Hey all,<div><br></div><div>I am currently reciving strings as such:</div><div><br></div><div><h2 style="margin:0px 0px 5px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;color:rgb(255,255,255);background-color:rgb(29,32,29)">The Elder Scrolls V: Skyrim® - Hearthfire™</h2></div><div><br></div><div><div>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?</div><div><br></div><div>I think im on my way there with encode/decode but not sure exactly how to go about it.</div><div><br></div><div>I am able to get past the error with with .encode('utf8') but I retrieve this string:</div><div><br></div><div>The Elder Scrolls V: Skyrim┬« - HearthfireÔäó </div><div><br></div><div>Cheers,</div><div><br></div><div><div><div dir="ltr">Marc Cameron<div><br><font><b><font>Contract Technical Artist and AR Generalist</font></b></font><div><font color="#00ffff">t:</font><span style="color:rgb(51,204,255)"> </span><u style="font-family:arial;font-size:small"><font color="#1155cc">+44</font><font color="#3366ff">7</font><font color="#3366ff">595491710</font></u><br><font color="#00ffff">e:</font><font color="#1155cc"> <a href="mailto:marccameron3D@gmail.com" target="_blank">marccameron3D@gmail.com</a></font></div></div></div></div></div>
</div></div>
</div>
</blockquote>
</div>
</div></div></div><br>_______________________________________________<br>
Glasgow mailing list<br>
<a href="mailto:Glasgow@python.org">Glasgow@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/glasgow" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/glasgow</a><br>
<br></blockquote></div><br></div>