Re: [symfony-users] Symfony2 doctrine returns not UTF-8 from UTF-8 table

2011-06-20 Thread Lajos Cseppentő
I managed to solve. I had to also set charset in config.yml at the doctrime
dbal part

On 17 June 2011 16:33, Marco Pivetta ocram...@gmail.com wrote:

 Could you please check the encoding of your source files? Also check the
 content-encoding headers sent by your web server :)
 Marco Pivetta
 http://twitter.com/Ocramius
 http://marco-pivetta.com




 2011/6/16 Lajos Cseppentő cseppen...@gmail.com

 Hello everybody,

 My problem is the next:
 I am new to symfony2, and i am trying to develop a basic homepage. I
 created the database from shell and model class, generated the setters
 and getters. But if I read data from the database and print it out in
 the view, the special characters (such as á, é, ő, etc.) are not
 appearing. I am using php as template engine because twig did not
 display utf8 strings. The data in the database is OK, and if I send my
 php-defined utf-8 strings to view they are displayed. The problem only
 stands if the data is from database. Do you know whati s the problem
 and help me how to fix it?

 Thank you in advance.

 Lajos Cseppentő

 --
 If you want to report a vulnerability issue on symfony, please send it to
 security at symfony-project.com

 You received this message because you are subscribed to the Google
 Groups symfony users group.
 To post to this group, send email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


  --
 If you want to report a vulnerability issue on symfony, please send it to
 security at symfony-project.com

 You received this message because you are subscribed to the Google
 Groups symfony users group.
 To post to this group, send email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Symfony2 doctrine returns not UTF-8 from UTF-8 table

2011-06-17 Thread Marco Pivetta
Could you please check the encoding of your source files? Also check the
content-encoding headers sent by your web server :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com



2011/6/16 Lajos Cseppentő cseppen...@gmail.com

 Hello everybody,

 My problem is the next:
 I am new to symfony2, and i am trying to develop a basic homepage. I
 created the database from shell and model class, generated the setters
 and getters. But if I read data from the database and print it out in
 the view, the special characters (such as á, é, ő, etc.) are not
 appearing. I am using php as template engine because twig did not
 display utf8 strings. The data in the database is OK, and if I send my
 php-defined utf-8 strings to view they are displayed. The problem only
 stands if the data is from database. Do you know whati s the problem
 and help me how to fix it?

 Thank you in advance.

 Lajos Cseppentő

 --
 If you want to report a vulnerability issue on symfony, please send it to
 security at symfony-project.com

 You received this message because you are subscribed to the Google
 Groups symfony users group.
 To post to this group, send email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en