'Displays' doesn't tell us very much. Have you looked at the actual values of the characters? What is the character set of the form page?
On Tue, Mar 23, 2010 at 10:57 AM, SaravananRamamoorthy <[email protected]> wrote: > > Hi Sergey, > > I have a form in which the user can enter chinese character. I used > formparam in JAX-RS, when I received the chinese character, it displays only > '?' symbols. Is there anyway to read chinese characters in JAX-RS when the > form is submitted with chinese character input. > > Regards > Saravanan Ramamoorthy > > > > Regards > Saravanan Ramamoorthy > > Sergey Beryozkin-5 wrote: >> >> Hi >> >> You probably want to set an Accept-Language header, and one way to do it >> is >> to use jarrs:languageMappings element, ex >> >> <jaxrs:languageMappings> >> <entry key="en" value="en-us"/> >> <!-- other entries for chineese, etc --> >> </jaxrs:languageMappings> >> >> and then append .en, etc to the URI, ex >> GET /resource.en >> >> Next, you can use an HttpHeaders context to get the value of the expected >> language and return an appropriate Response >> >> cheers, Sergey >> >> >> On Tue, Mar 23, 2010 at 11:47 AM, SaravananRamamoorthy < >> [email protected]> wrote: >> >>> >>> Hi All, >>> >>> Does JAX-RS support multiple language? >>> Can we able to inject the chinese langues using queryparam? >>> >>> Please guide me to trigger out the solution. >>> >>> Regards >>> Saravanan Ramamoorthy >>> -- >>> View this message in context: >>> http://old.nabble.com/multi-language-support-in-cxf-tp27999720p27999720.html >>> Sent from the cxf-user mailing list archive at Nabble.com. >>> >>> >> >> > > -- > View this message in context: > http://old.nabble.com/multi-language-support-in-cxf-tp27999720p28002133.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
