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 13, 2008, at 11:28 AM, Cyril Doussin wrote:
>
>
> 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 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?
>>>
>
>
> >

-- 
Peter of the Norse


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to