What on eart is this damn error: Michael tried to explain to me about
surrogates but dont think i understand it.
Encoding giving me trouble years now.
[Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59] Original exception was:
[Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59] Traceback (most recent
call last):
[Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59] File "files.py", line
72, in <module>
[Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59]
cur.execute('''SELECT url FROM files WHERE url = %s''', (fullpath,) )
[Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59] File
"/usr/local/lib/python3.3/site-packages/PyMySQL3-0.5-py3.3.egg/pymysql/cursors.py",
line 108, in execute
[Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59] query =
query.encode(charset)
[Tue Jun 04 20:19:53 2013] [error] [client 46.12.95.59] UnicodeEncodeError:
'utf-8' codec can't encode character '\\udcd3' in position 61: surrogates not
allowed
PLEASE TELL EM WHAT TO TRY, PLEASE FOR THE LOVE OF GOD, IAM SO FRUSTRATED NOT
BEING ABLE TO DEAL WITH THIS.
--
http://mail.python.org/mailman/listinfo/python-list