I am having an issue displaying Chinese (Big5 encoded) characters in the UI (Web Browser). Background of the issue: In our application we have three layers - 1. Mainframe system (Host) 2. VC++ application (Server) 3. ASP.NET Client Application (Client) In between the Host and the Server application we have a COM service (Agent) which acts as a mediator between the HOST and the Server system systems. THe Host system sends a message which contains some Chinese characters. This message is recieved by the Agent Service which then converts this message into Big5 Encoding and sends that to the Server Application. The Server Application recieves the Big5 encoded message and after performing the required Business Logic forwards the message (Chinese characters (Big5 encoded)) to the Client. The Chinese characters shoukd be displayed in the Browser UI but its displaying the ASCII Equivalent Character of those encoded characters. These characters are displayed in the UI: -Ó¤H³ü¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@

We are running our application in Windows Server 2012 OS. The OS language setting have been set to Chinese (Traditional Taiwan) (Big5). Our Server application also writes trace logs where we can see the below Chinese characters written: 個人壹

When I debugged our Server side code, in Visual Studio watch window it shows me the ASCII equivalent characters (-Ó¤H³ü¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@) but after it has written into the logs we can see the Chinese characters (個人壹) in the log when the OS language setting is Chinese (Traditional Taiwan). However in the UI side while displaying it is not able to display Chinese Characters.

How can we handle this case and display the Chinese Characters in Browser UI?

Related posts

Recent Viewed