|
Hi there,
After upgrading my app from RC1 to RC3, greek characters seem to get garbled when creating or updating a domain object (properties of existing domain objects are displayed ok if not updated). For example, the word "κατηγορία" turns to something like "καÏηγοÏία". This is also how the values are stored in the DB. Environment: Windows XP SP3, 32bit Java version 1.6.0_27 MySQL 5.1.56 with useUnicode=true and characterEncoding=utf-8 in the connection string
Anyone else facing the same problem? Many thanks, Dimitris
|
|
I have the same problem with Japanese characters.
Would you see my sample application? I don't use any database in the application, only build a domain instance from a web request. Environment: Windows7 x64 Java 1.6.0_29 (2011/12/04 2:50), Dimitris Zavaliadis wrote: > Hi there, > > After upgrading my app from RC1 to RC3, greek characters seem to get > garbled when creating or updating a domain object (properties of existing > domain objects are displayed ok if not updated). > For example, the word "κατηγορία" turns to something like " > καÏηγοÏία". This is also how the values are stored in the DB. > > *Environment:* > Windows XP SP3, 32bit > Java version 1.6.0_27 > MySQL 5.1.56 with useUnicode=true and characterEncoding=utf-8 in the > connection string > > Anyone else facing the same problem? > > Many thanks, > Dimitris > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
This post was updated on .
Thanks Masatoshi, I checked your sample app and I can confirm that I
encountered the exact same problem. Also, after some further investigation, I've noticed the following: 1. The problem seems to appear only when POSTing. That is, if you use method="GET" in the form everything works as expected 2. The params are already garbled when reaching the controller (i.e. it's not a binding or persistence issue) Dear Grails team, shall I create a JIRA issue with the sample app? Thanks, Dimitris On Sat, Dec 3, 2011 at 9:12 PM, Masatoshi Hayashi [via Grails] < ml-node+s1312388n4154446h39@n4.nabble.com> wrote: > I have the same problem with Japanese characters. > Would you see my sample application? > I don't use any database in the application, only build a domain instance > from a web request. > > Environment: > Windows7 x64 > Java 1.6.0_29 > > (2011/12/04 2:50), Dimitris Zavaliadis wrote: > > > Hi there, > > > > After upgrading my app from RC1 to RC3, greek characters seem to get > > garbled when creating or updating a domain object (properties of > existing > > domain objects are displayed ok if not updated). > > For example, the word "κατηγορία" turns to something like " > > ÎºÎ±Ï„Î·Î³Î¿Ï Î¯Î±". This is also how the values are stored in the DB. > > > > *Environment:* > > Windows XP SP3, 32bit > > Java version 1.6.0_27 > > MySQL 5.1.56 with useUnicode=true and characterEncoding=utf-8 in the > > connection string > > > > Anyone else facing the same problem? > > > > Many thanks, > > Dimitris > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > *sample.zip* (56K) Download Attachment<http://attachment/4154446/0/sample.zip> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://grails.1312388.n4.nabble.com/Encoding-issues-after-upgrading-to-Grails-2-0-0-RC3-tp4154046p4154446.html > To unsubscribe from Grails, click here<http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1312388&code=ZGltemF2YUBnbWFpbC5jb218MTMxMjM4OHwtMzE5NzE0NTQz> > . > NAML<http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > |
|
Administrator
|
Please create a JIRA yes
Thanks
On Sat, Dec 3, 2011 at 9:48 PM, dzava <[hidden email]> wrote: Thanks Masatoshi, I checked your sample app and I can confirm that I encountered the exact same problem. Graeme Rocher Grails Project Lead SpringSource - A Division of VMware http://www.springsource.com |
|
Done: http://jira.grails.org/browse/GRAILS-8431
Masatoshi, I hope you don't mind I used your app! Thanks, Dimitris
On Sun, Dec 4, 2011 at 1:01 AM, Graeme Rocher-4 [via Grails] <[hidden email]> wrote: Please create a JIRA yes |
|
Dimitris, Thanks for creating a jira issue and using my sample!
Masatoshi (2011/12/04 8:34), dzava wrote: > Done: http://jira.grails.org/browse/GRAILS-8431 > > Masatoshi, I hope you don't mind I used your app! > > Thanks, > Dimitris > > On Sun, Dec 4, 2011 at 1:01 AM, Graeme Rocher-4 [via Grails]< > [hidden email]> wrote: > >> Please create a JIRA yes >> >> Thanks >> >> On Sat, Dec 3, 2011 at 9:48 PM, dzava<[hidden email]<http://user/SendEmail.jtp?type=node&node=4155212&i=0> >>> wrote: >> >>> Thanks Masatoshi, I checked your sample app and I can confirm that I >>> encountered the exact same problem. >>> >>> Also, after some further investigation, I've noticed the following: >>> >>> 1. The problem seems to appear only when POSTing. That is, if you use >>> method="GET" in the form everything works as expected >>> 2. The params are already garbled when reaching the controller (i.e. >>> it's not a binding or persistance issue) >>> >>> Dear Grails team, shall I create a JIRA issue with the sample app? >>> >>> Thanks, >>> Dimitris >>> >>> >>> On Sat, Dec 3, 2011 at 9:12 PM, Masatoshi Hayashi [via Grails]<[hidden >>> email]<http://user/SendEmail.jtp?type=node&node=4154792&i=0>> wrote: >>> >>>> I have the same problem with Japanese characters. >>>> Would you see my sample application? >>>> I don't use any database in the application, only build a domain >>>> instance from a web request. >>>> >>>> Environment: >>>> Windows7 x64 >>>> Java 1.6.0_29 >>>> >>>> (2011/12/04 2:50), Dimitris Zavaliadis wrote: >>>> >>>>> Hi there, >>>>> >>>>> After upgrading my app from RC1 to RC3, greek characters seem to get >>>>> garbled when creating or updating a domain object (properties of >>>> existing >>>>> domain objects are displayed ok if not updated). >>>>> For example, the word "κατηγορία" turns to something like " >>>>> ÎºÎ±Ï„Î·Î³Î¿Ï Î¯Î±". This is also how the values are stored in the DB. >>>>> >>>>> *Environment:* >>>>> Windows XP SP3, 32bit >>>>> Java version 1.6.0_27 >>>>> MySQL 5.1.56 with useUnicode=true and characterEncoding=utf-8 in the >>>>> connection string >>>>> >>>>> Anyone else facing the same problem? >>>>> >>>>> Many thanks, >>>>> Dimitris >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe from this list, please visit: >>>> >>>> http://xircles.codehaus.org/manage_email >>>> >>>> *sample.zip* (56K) Download Attachment<http://attachment/4154446/0/sample.zip> >>>> >>>> >>>> ------------------------------ >>>> If you reply to this email, your message will be added to the >>>> discussion below: >>>> >>>> http://grails.1312388.n4.nabble.com/Encoding-issues-after-upgrading-to-Grails-2-0-0-RC3-tp4154046p4154446.html >>>> To unsubscribe from Grails, click here. >>>> NAML<http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >>>> >>> >>> >>> ------------------------------ >>> View this message in context: Re: Encoding issues after upgrading to >>> Grails 2.0.0.RC3<http://grails.1312388.n4.nabble.com/Encoding-issues-after-upgrading-to-Grails-2-0-0-RC3-tp4154046p4154792.html> >>> Sent from the Grails - user mailing list archive<http://grails.1312388.n4.nabble.com/Grails-user-f1312389.html>at Nabble.com. >>> >> >> >> >> -- >> Graeme Rocher >> Grails Project Lead >> SpringSource - A Division of VMware >> http://www.springsource.com >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> >> . >> NAML<http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > -- > View this message in context: http://grails.1312388.n4.nabble.com/Encoding-issues-after-upgrading-to-Grails-2-0-0-RC3-tp4154046p4155354.html > Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
This is a plugin bug (http://jira.grails.org/browse/GPWEBXML-4) fixed in v1.4.1 of the webxml plugin. As Tsuyoshi mentioned in the JIRA it's due to the charEncodingFilter not being first in the list. I applied his fix from https://github.com/tyama/webxml-encoding and released the new plugin.
Burt |
| Powered by Nabble | Edit this page |
