I have installed Propel 1.6. I can create tables in MySQL with propel commands.
Below is my propel settings in file: runtime-config.xml
 <propel>
            <datasources default="myProject">
                <datasource id="myProject">
                    <adapter>mysql</adapter> 
                    <connection>
                        <dsn>mysql:host=localhost;dbname=myDBname</dsn>
                        <user>myUser</user>
                        <password>mypass</password>
                        **<charset>utf8</charset>
                        <collate>utf8_unicode_ci</collate>**
                    </connection>
                </datasource>
            </datasources>
        </propel>
MySQL database and table User has collation utf8_unicode_ci (see photo below):
Ι create a new Patient object to test everything is ok, through the following code:
$pat = new Patient();
$pat->setEmail("tg@gmail.com");
$pat->setAddress("Η διεύθυνσή μου");
$pat->setAmka("555555555");
$pat->setBirthdate("1966-01-01");
$pat->setFirstname("Τοόνομάμου");
$pat->setLastname("τοεπώνυμόμου");
$pat->setPhone("2109999999");
$pat->setSex(1);
$pat->save();
I checked through debug mode in Netbeans and the object $pat contains the values in the correct format so i can read them.
After save(), in mysql the greek values are showing like this: mySql values saved screenshot
I would like your help to solve this issue. Thank you in advance.
 
     
    