cancel
Showing results for 
Search instead for 
Did you mean: 

jCO chinese language

Former Member
0 Kudos

Till now we used to deal only with english language. But due to the inclusion of chinese in the portal ( uses SAP jCO to push and pull the data from SAP ) some scrap characters( such as ????? ) are getting displayed instead of chinese. Is there any workaroud for this?I have tried different ways -- changing the language to ZH while connection creation to SAP, language in meta tag to ZH while display in jsp and so on. But no luck. Is there anything that needs to be done at SAP side in this regard?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you login to the backend with chinese as the language are you able to see the contents in chinese?

Regards

Ayyapparaj

Former Member
0 Kudos

Hello,

this looks like an enconding problem in your html page

try a jsp page like this - this one should output chines characters (but don´t ask me what they mean)


<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

........
meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
.........
&amp;#21488;&amp;#21271; 

replace &amp;amp; with simple & and make a valid html page (meta tag) - cannot post html in thread - forum get´s confused when doing so

if you still only see ?? it could be, that your browser cannot display chinese characters

...in general, always be aware of enconding issues - you can´t just put any characters into a html/jsp without telling the browser the encoding you are using - in in jsp use <c:out> tag for correct encoding of values

Edited by: Franz Ferner on Oct 31, 2008 11:07 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Franz,

Sorry for late reply. Its an encoding issue.

It was resolved. Thanks.