WEIRD ERROR WHEN TRYING TO SUBMIT A TUTORIAL
Posts
Pages:
1
I get some "UnicodeEncodeError at /submit/article/" along with: 'latin-1' codec can't encode character u'\u2019' in position 2892: ordinal not in range(256). This is sort of weird, could anyone help?
author=Darken link=topic=105.msg1526#msg1526 date=1183636921Did you include a non-standard character in one of the text boxes? Like some sort of accent mark, characters from another alphabet, or maybe a weird ANSI thing?
I get some "UnicodeEncodeError at /submit/article/" along with: 'latin-1' codec can't encode character u'\u2019' in position 2892: ordinal not in range(256). This is sort of weird, could anyone help?
That said, they probably ought to change the page to accept a different encoding. UTF-8, maybe.
Interesting. The site should be set for UTF-8, but I'll check it out.
author=Eddie link=topic=105.msg1623#msg1623 date=1183726013but its SOOOO AWESOME. I saved it to my PC just so I could show other people it.
Darken.... You sig is a megabyte.
I just tried to submit an article, and it looks like this same error is popping up. Has it not been taken care of yet, or did you maybe just take care of it on the Tutorials Submission page?
Here, I'll copy/paste the error readout:
For the record, I *did* include strange characters. But they shouldn't cause errors in UTF-8, right?
UPDATE: I've finally gotten it to work, but I had to remove all of the special characters I used, in addition to using OpenOffice and Character Map to go through and find every time that a quotation mark got replaced with either the left or right quotation mark character, and that's for both single and double quotation marks. I know I didn't specifically add these, so I assume they must've been added by either my browser when I was typing, or by Open Office when I had to copy the article over to make sure I didn't lose it when the submission form kept messing up.
Here, I'll copy/paste the error readout:
UnicodeEncodeError at /submit/article/
'latin-1' codec can't encode character u'\u2019' in position 4770: ordinal not in range(256)Request Method: POST
Request URL: http://www.rpgmaker.net/submit/article/
Exception Type: UnicodeEncodeError
Exception Value: 'latin-1' codec can't encode character u'\u2019' in position 4770: ordinal not in range(256)
Exception Location: /usr/lib64/python2.4/site-packages/MySQLdb/connections.py in defaulterrorhandler, line 33
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "/home/www/vhosts/rpgmaker.net/django/rpgmaker/apps/base/utils.py" in __call__
105. return self.view(request, *args, **kwargs)
File "/home/www/vhosts/rpgmaker.net/django/rpgmaker/apps/submissions/views.py" in submit_article
117. a.submit()
File "/home/www/vhosts/rpgmaker.net/django/rpgmaker/apps/submissions/models.py" in submit
36. self.save()
File "/usr/lib/python2.4/site-packages/django/db/models/base.py" in save
238. ','.join(placeholders)), db_values)
File "/usr/lib/python2.4/site-packages/django/db/backends/util.py" in execute
12. return self.cursor.execute(sql, params)
File "/usr/lib/python2.4/site-packages/django/db/backends/mysql_old/base.py" in execute
42. return self.cursor.execute(sql, params)
File "/usr/lib64/python2.4/site-packages/MySQLdb/cursors.py" in execute
137. self.errorhandler(self, exc, value)
File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py" in defaulterrorhandler
33. raise errorclass, errorvalue
UnicodeEncodeError at /submit/article/
'latin-1' codec can't encode character u'\u2019' in position 4770: ordinal not in range(256)
For the record, I *did* include strange characters. But they shouldn't cause errors in UTF-8, right?
UPDATE: I've finally gotten it to work, but I had to remove all of the special characters I used, in addition to using OpenOffice and Character Map to go through and find every time that a quotation mark got replaced with either the left or right quotation mark character, and that's for both single and double quotation marks. I know I didn't specifically add these, so I assume they must've been added by either my browser when I was typing, or by Open Office when I had to copy the article over to make sure I didn't lose it when the submission form kept messing up.
Pages:
1

















