Re: Problem with french special character in GWT

2009-03-27 Thread Thomas Broyer



On 26 mar, 11:10, Sandeep  wrote:
> Hi,
>
> I have a simple GWT application which takes String and gives me
> reverse of the string.
> Problem here is that when i send the String to servlet and try to
> print it there "?" is printed on tomcat instead of special characters
> for french. Same is happening with Russian characters.
>
> But i am getting correctly reversed string at client side when display
> result as a popup.
>
> Can any one explain me why is it behaving so?

Your console (or log file) probably uses an encoding that doesn't
support those characters.

> Will it get stored in database properly if i want to do so?

It depends the encoding of the database. If you set it to UTF-8 or any
other encoding capable of handling Unicode you shouldn't have any
problem (same for your console/log file encoding)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Problem with french special character in GWT

2009-03-26 Thread Sandeep

Hi,

I have a simple GWT application which takes String and gives me
reverse of the string.
Problem here is that when i send the String to servlet and try to
print it there "?" is printed on tomcat instead of special characters
for french. Same is happening with Russian characters.

But i am getting correctly reversed string at client side when display
result as a popup.

Can any one explain me why is it behaving so?

Will it get stored in database properly if i want to do so?

Thanks in advance

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