on 10-31-2008 6:31 AM
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?
Hi,
If you login to the backend with chinese as the language are you able to see the contents in chinese?
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
.........
&#21488;&#21271;
replace &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
Hi Franz,
Sorry for late reply. Its an encoding issue.
It was resolved. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.