jalbouys / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

Getting Output as ? for Chinese conversion #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Developed a Java program using this API for Convertion. 
2. The program is working fine but gives error when converting English to 
Chinese. I am getting  a '?' when trying to convert 'hello' to Chinese
Attached is my Java file (Tranlator.java). 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
google-api-translate-java-0[1].4.jar on Windows XP. I have installed the 
East Asian Package of the Windows and i am able to view the correct 
translation of Chinese in browser.

Please provide any additional information below.

Original issue reported on code.google.com by pandey.k...@gmail.com on 14 May 2008 at 11:52

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the bug report. I'm not sure what to suggest. I can verify that your 
code
works for me with the result:

喂

This is on a Linux operating system, Windows is known to handle different 
character
encodings poorly but that's beyond my experience. The problem is not with the 
library
though I'm afraid.

Original comment by rich.mid...@gmail.com on 26 May 2008 at 3:28