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]> 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
-~----------~----~----~----~------~----~------~--~---