Why do you (want to) use entity encoding for your database ?
Would it be much easier and nicer to simply store the data as-is in the 
database ?
You only need escaping of the string to not confuse the sql, meaning in 
general making sure single quotes are properly escaped. The database 
extension you are using provides a function for that, e.g. 
mysql_real_escape_string(). If you're using Propel you don't have to do 
anything special at all, it will handle the escaping for you.


Chris wrote:
> I was wondering if anyone could tell me how to change the quote style
> used when a string is encoded and saved into the database (See Example
> Below).
>
> String: "XYZ Product(R)"
>
> Currently goes into database as: "XYZ Product®"
>
> I would like it to go into the database as: "XYZ Product ®"
>
> Thanks,
> Chris
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to