﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5007	Data truncated for column 'message' at row 1	p.patruno@…	Malcolm Tredinnick	"if I set LANGUAGE_CODE = it_it in settings.py and use admin interface to change some data in my tables the result is:

Exception Type:  	Warning
Exception Value: 	Data truncated for column 'message' at row 1
Exception Location: 	/usr/lib/python2.5/warnings.py in warn_explicit, line 102


 168.  if not self._defer_warnings: self._warning_check() ...

▼ Local vars
Variable 	Value
ListType 	<type 'list'>
TupleType 	<type 'tuple'>
args 	[1L, u'program ""mandami"" \xe8 stato modificato correttamente.']
charset 	u'utf8'
db 	<weakproxy at 0x8755c5c to Connection at 0x87a7634>
exc_info 	<built-in function exc_info>
query 	u'INSERT INTO `auth_message` (`user_id`,`message`) VALUES (1,\'program \\""mandami\\"" \xe8 stato modificato correttamente.\')'
r 	1L
self 	<MySQLdb.cursors.Cursor object at 0x87648ec>

All is right with LANGUAGE_CODE = en_us 

I use mysql and if I execute this sql 
INSERT INTO `auth_message` (`user_id`,`message`) VALUES (1,\'program \\""mandami\\"" \xe8 stato modificato correttamente.\')
I get an error

If I execute this sql all works right:
INSERT INTO `auth_message` (`user_id`,`message`) VALUES (1,'program \\""mandami\\"" \xe8 stato modificato correttamente.')

thanks

Paolo Patruno"		closed	Internationalization	dev		duplicate	Data truncated sql		Unreviewed	0	0	0	0	0	0
