Click here to Skip to main content
15,886,798 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello There,



Actually I am getting a Chinese name from the server. our service converts my output to Big5 encoding and sends to application and we need to display the Chinese characters in the UI. We have a server which has Chinese OS and when we see my application log file, it is showing Chinese language but in UI it is showing ASCII equivalent of those Big5 Hex values. The same log file when we copy to my local machine, the same values are displaying which is displayed UI screen in Chinese OS machine. Below characters are displayed in UI:


-Ó¤H³ü¡@¡@¡


These same characters are written in log as Chinese characters:


個人壹



Regards,

K Narasimha Rao
Posted
Updated 15-Jul-15 23:35pm
v3
Comments
Jochen Arndt 14-Jul-15 6:34am    
You must convert the string from the character set used by the server to those used by your application. So check:
- Which encoding is used by the server (e.g. UTF-8)
- If the conversion to Big5 by your service can be ommitted
- Which character set is used by your UI (e.g. Microsoft Unicode / UTF-16 with Windows or UTF-8 with Unix)

Once you know the above, you can convert the string.
Richard MacCutchan 16-Jul-15 6:36am    
You need to check in your UI code that you are selecting the Chinese font correctly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900