I would suggest that you should always work the the escaping turned on, this is more of a security thing than ensuring your content displays correctly... I have a project that handles multi-byte characters without problems.. I will run through the code and see if there are any other suggestions I can make... Alistair
On 10/01/2008, Peter HO <[EMAIL PROTECTED]> wrote: > > I've tried to change the connection params, trying to remove the dsn > > dev: > > poptract: > > class: sfPropelDatabase > > param: > > phptype: mysql > > hostspec: 192.168.0.10 > > port: 3306 > > database: mybase > > username: xxxx > > password: xxxx > > encoding: utf8 > > persistent: 1 > > But without any change :-( > > I checked the http response, and it is utf-8. > > I am wondering if my problem could be solved by playing with the > escape_strategy. It is currently set to default settings but I am not > cumfortable with that ... any idea ? > > > Peter > Tristan Rivoallan a écrit : > > On Jan 9, 2008 6:21 PM, Peter HO <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> > wrote: > > > thanks for that quick reply ! > > This is part of my databases.yml file > dev: > poptract: > class: sfPropelDatabase > param: > encoding: utf8 > dsn: mysql://xxxxx:[EMAIL PROTECTED]:3306/mybase > > there was (a long time ago) a bug in creole that prevented to mix dsn > and params syntax. Did you try dsn:mysql://xxxxx:[EMAIL > PROTECTED]:3306/mybase?encoding=utf8 ? > > also did you check your http response's encoding ? > > 2 cents, > > tristan > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
