<div class="gmail_quote">2011/7/24 Chris Angelico <span dir="ltr"><<a href="mailto:rosuav@gmail.com">rosuav@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Jul 25, 2011 at 5:01 AM, Joao Jacome <<a href="mailto:slyerex@gmail.com">slyerex@gmail.com</a>> wrote:<br>
> Already tried without unicode string in rootdir, same results. What if try<br>
> using raw strings?<br>
<br>
</div>Raw strings are just another way of typing them into your source code.<br>
There are different ways of writing string literals, but they produce<br>
the same string object:<br>
<br>
"Hello \\ world!\n"<br>
'Hello \\ world!\n'<br>
"""Hello \\ world!<br>
"""<br>
r"""Hello \ world!<br>
"""<br>
<br>
All these produce the exact same thing. But u"Hello \\ world!\n" is<br>
quite different, or (in Python 3) b"Hello \\ world!\n".<br>
<br>
ChrisA<br>
<div><div></div><div class="h5">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br><div><a href="http://pastebin.com/iQzPhpVh">http://pastebin.com/iQzPhpVh</a></div><div><br></div><div>Changed filename to rawstring, now python can retrieve the file's info.</div><div>
Now in the database, character "Ê" becomes "Ê", but if i retrieve it in python and try to get file size, it works.</div><div><br></div><div>Is there a way to modify output to display correctly these characters?</div>
<div><br></div>