Data truncated for column 'text' at row 1
That is shown when I pass swedish chars like å ä and ö into a form,
which then POST's the form back to the same page. The whole warning-
message reads:
Warning at /
Data truncated for column 'text' at row 1
Request Method: POST
Request URL: http://sql.bidclub.se/
Exception Type: Warning
Exception Value: Data truncated for column 'text' at row 1
Exception Location: /usr/lib/python2.4/site-packages/MySQLdb/
cursors.py in _warning_check, line 80
Python Executable: /usr/bin/python
Python Version: 2.4.4
The POSTing works 'cause when I return to the site I can see the post.
I guess this has something to do with unicode or something, but I
don't really know where to look.
Any hint is really appreciated!
Thanks in advance
[...]
SD> The POSTing works 'cause when I return to the site I can see the post.
SD> I guess this has something to do with unicode or something, but I
SD> don't really know where to look.
SD> Any hint is really appreciated!
This means exactly what's written there: data was truncated. Check how
long 'text' column is and, probably, alter table to increase its size.
--
Andrey V Khavryuchenko
Django NewGate - http://www.kds.com.ua/djiggit/
Development - http://www.kds.com.ua
Call akhavr1975 on www.gizmoproject.com
http://dev.mysql.com/doc/refman/4.1/en/charset-general.html
I hope it helps. Ester Ytterbrink
On Sep 25, 10:42 am, Sebastian Dahlgren <sebastian.dahlg...@gmail.com>
wrote:
What we should try or check at this point?
Thanks for an eventual answer, hint, suggestion...
francois
On Sep 25, 6:42 am, Sebastian Dahlgren <sebastian.dahlg...@gmail.com>
wrote:
Thanks