Hello all,

I'm new to Symfony and I need to know how it addresses the UTF-8 vs
VARCHAR(n) problem that appears all in out projects: eg. if I have a
VARCHAR(4) field, I need to have an INPUT field of max. 4 characters
that permits 'aaaa' (4 bytes) but not 'aaáá' (6 bytes). My first guess
was using the size check in YAML file, but permits entering a 6-byte
string into a 4-byte field (as it seems to measure in characters, not
bytes), resulting in a fat PropelException when the DB insert/update
fails. I want the user to have a nice feedback from the system that he/
she has exceeded the maximum length.

Could you desribe how the Symfony framework addresses this issue? (I'm
using 1.0.x.)

Best regards,
Gergely Bor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to