Re: Data truncated for utf-8 string

2008-05-28 Thread Peter of the Norse
You might want to check your version of MySQL. It works in 5.0 but I don’t know when it was fixed. Older versions viewed string length as byte length. As long as you stayed in ACSII, everything was the same, but as soon as you started using multi-byte characters, it all fell apart. On May

Re: Data truncated for utf-8 string

2008-05-13 Thread Cyril Doussin
Hi Szymon, Not absolutely sure this is where the problem lies but I'd say check the collation used for your table in MySQL. Cyril On 13 May 2008, at 09:24, Szymon wrote: > > Hello, > > I'm using MySQL as my backend. Everytime when I want save a utf-8 > string there is warning that string h

Data truncated for utf-8 string

2008-05-13 Thread Szymon
Hello, I'm using MySQL as my backend. Everytime when I want save a utf-8 string there is warning that string has been truncated. Ie. I have model with CharField(max_length=10), then want to add string żźćźżąłśćó it throw warning. What can I do to override that? --~--~-~--~~--