On Mon, Mar 26, 2012 at 6:09 AM, Chris B. <chri...@gmail.com> wrote:
> Anyone can help on this? Unicode characters can not be saved into database.
> I am stuck here.
>
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/KmGTbrC9z_MJ.
>
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
--
Guillaume Bort
For JDBC try: jdbc:mysql://localhost/db?useUnicode=yes&characterEncoding=UTF-8 Plain SQL: SET NAMES 'utf8'; SET CHARACTER SET utf8;
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/gOk45l5rhB8J.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
-- Oracle Certified Expert, Enterprise JavaBeans Developer Oracle Certified Professional, Java SE 6 Programmer Professional Scrum Master
You probably need to specify UTF-8 for the JDBC connection. Check the
MySQL JDBC driver documentation.