BEx display Chinese Incorrect
Hi, All:
The system is BI 7.0 and we use Query Designer to display our query.
To display in table in Chinese, everything is ok. But to display in Chart, such as Bar Chart, the characters in the Chart can't be display correctly, howerver those outside the Chart, such as title, can be display correctly in Chinese.
Any info will be highly appreciated!
Best wishes,
David
Additionally, the system is non-unicode and the <b>gfwchart</b> file current is:
[LANGUAGES]
BG=Arial Unicode MS
CS=Arial Unicode MS
DA=Arial Unicode MS
DE=Arial Unicode MS
EL=Arial Unicode MS
EN=Arial Unicode MS
ES=Arial Unicode MS
FI=Arial Unicode MS
FR=Arial Unicode MS
HE=Arial Unicode MS
HR=Arial Unicode MS
HU=Arial Unicode MS
IT=Arial Unicode MS
JA=Arial Unicode MS
KO=Arial Unicode MS
MS=Arial Unicode MS
NL=Arial Unicode MS
NO=Arial Unicode MS
PL=Arial Unicode MS
PT=Arial Unicode MS
RO=Arial Unicode MS
RU=Arial Unicode MS
SK=Arial Unicode MS
SL=Arial Unicode MS
SV=Arial Unicode MS
TH=Arial Unicode MS
TR=Arial Unicode MS
UK=Arial Unicode MS
ZF=Arial Unicode MS
ZH=Arial Unicode MS
Z1=Arial Unicode MS
ET=Arial Unicode MS
LT=Arial Unicode MS
LV=Arial Unicode MS
AR=Arial Unicode MS
[FONTPATHS]
[GENERAL]
TRACE=0
Similar Messages
-
Need help in Displaying Chinese Character in JSF
Hi. Good Morning!
I'm having problem with displaying Chinese Characters in JSF. I've tried placing all the chinese words in the *.properties file however it doesn't work..
The result in the browser is something like this.
���� ��������� ���� ��������� ���� ���������Hi,
When you say that you put Chinese characters in
*.properties files, can you be more specific? Did
you use native2ascii to convert the files to ASCII?
What is the character encoding setting for the JVM?
Have you sniffed the HTTP headers? If so, what's the
character encoding listed for the response?
Answers to these questions should help you nail down
the problem.
Regards,
PeterHi...
I did not use any converter like native to ascii... an example of what I placed in the properties file is:
title : 以下5种标签的表面要求列样
Request=条码离边框
Tablehead=透明标签
Note1= 透明标签
Note2= 透明标签
NoteA= 印商标图
then when i build the project in linux it turns out to be like this:
title= ???
Request=???
Tablehead=???
Note1= ???
Note2= ???
NoteA= ???
The character encoding for JVm.. i haven't check that yet nor know how... -
Displaying chinese characters in browser
Dear sirs,
I am having the following issue in chinese internationalization.when i stored the JSP form parameters(typed in chinese) in database,it stored some kind of junk characters ....and when i displayed ,they showed like SMALL SMALL tables.... in my browser.
Our project is java based web application.
Java-1.5
Mysql-5.0.24
tomcat-5.5
JSP-1.2
servlet-2.0
browser-mozilla firebox
I set in my all JSP pages,
----->1.<%@ page contentType="text/html;charset="UTF-8" pageEncoding="UTF-8"%>
----->2.<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
in my JAVA files,i added,
----->String encode=ServletContext.getInitParameter("javaEncoding");
----->request.setCharacterEncoding(encode); (it gets encoding UTF-8 from web.xml file)
In my MYSQL,i set...
----->mysql --default-character-set=utf8 -username -password -database
so,i changed client,connection,results,system charactersets " utf8" and connection collation is "utf8".
In my DATABASE connection String...i added,
------>useUnicode=true&characterEncoding=UTF-8
In my TOMCAT web.xml file..i added these lines as i am using POST method for form.
<context-param>
<param-name>javaEncoding<param-name>
<param-value>UTF-8<param-value>
<context-param>
still .i am unable to display chinese characters in my browser.
but.when i am using getBytes() for all form parameters in JAVA file....i m able to store chinese in db and dispay in browser ....
String param;
---->String param=newString(param.getBytes("ISO8859-1"),"UTF-8");
Could anyone tell me another method for displaying chinese except this getBytes()..
please help me out. i am trying to find out an alternative server-independent method for past two weeks.
Advance thanks for reading and help.
mullaimaran.Hi one_dane &Mr.Clap,
Thank you for your help.
At last i displayed chinese characters with out using getBytes() and web.xml configuration.
My settings for displaying chinese....
JSP :
1<%@ page contentType="text/html;charset="UTF-8" pageEncoding="UTF-8"%>2.<HEAD>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</HEAD>JAVA(Servlet):
request.setCharacterEncoding("UTF-8");MYSQL:
Mysql connection String...i added,
----> useUnicode=true&characterEncoding=UTF-8i m using linux terminal for mysql login.
bash]$ mysql --default-character-set=utf8 -username -password -database nameSo, i changed these settiings in database
mysql> show variables like '%char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+and set collation....
mysql> show variables like '%col%';
+---------------------------+-------------------+
| Variable_name | Value |
+---------------------------+-------------------+
| collation_connection | utf8_general_ci |
| collation_database | utf8_general_ci |
| collation_server | utf8_general_ci |Once again thank you....for help.Keep your assistance in this forum.
mullaimaran. -
How to display chinese in applet?
I am using an english Win2K and IE6.0. In accessing a web site, the applet couldn't display chinese, instead, it displays little squares. What settings do I need to change? Or is it possible?
Thanks.hi
I would recommend that you read the following article
http://www.onjava.com/pub/a/onjava/2001/04/12/internationalization.html
Jaric Sng -
Ip phone 7911 Line Text Label can't display chinese
My customer use Callmanager 6.1.5.13900 version, Already install cm-locale-zh_CN-6.1.3.3000-1.cop.sgn file in the callmanager. ip phone setting user locale select chinese.
customer want to display chinese name in phone, i found Directory Number Configuration can select Line Text Lable. I set chinese name.but displayer Unrecognizable Code in 7911 and 7912G. If I wrote english name,It display fine. I set chinese name,ip phone 7945 and 7975 display is ok.anyone have ideas?Hi Mohie,
I was referring the bug
linetextlabel is not supported in 6921/6961
CSCtd52504
Description
Symptom:CUCM Admin page shows Linetextlabel setting for line of 6921/6961.
6921 and 6961 don't support Linetextlabel setting, so CUCM needs to remove this field.
Conditions:CUCM: 7.1.3.10000-11
6921/6961: 8.5.3
Workaround:Ignore linetextlabel field
Further Problem Description:Only 6941 in 6900 series supports linetext label.
regds,
aman -
Chinese Data Fields not displaying Chinese Characters
Hi There,
Wonder if someone can help. We are currently running reports in Crystal 8.5 but are in the process of upgrading our business systems to latest version and this includes converting all our Crystal 8.5 reports to Crystal Reports XI R2 SP4.
During the process we are experiencing some difficulties in displaying Chinese characters, which have previously worked fine in version 8.5. The system we are running Crystal from has Oracle client 11 installed and the OS system locale is set to Chinese PRC. Our application is displaying Chinese characters properly and if we have any text fields on the report, these are also displaying properly when changing Font to Arial Unicode MS. The only thing that doesn't display properly is the field data which after checking has the correct Chinese data stored in the database. For some reason Crystal 11.5 doesn't seem to be transferring the data correctly which points to some sort of encoding problem.
Is there something I am missing here or is there something else I need to install for this to work?
Any hep would be appreciated.What is your Oracle database's language set? Is it set to UTF-8 or non UTF-8 (such as American_America.WE8ISO8859P1" )?
There is a similar issue tracked under ID ADAPT00528561 (Crystal cannot display non-UTF-8 Chinese characters from an Oracle database ) and has been fixed and you should set the following registry key to make it effective:
Set the following registry key "UseOSLocaleForConversion" to "Yes" under:
HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Crystal Reports\Database\Oracle -
How to display Chinese in AWT (Urgent!)
I have to problems,
My computer is Win2K Traditional Chinese
I try to run an application which Display chinese characters on the component of AWT. Although the application can run and can display correctly, there are exceptions. It throws the following error continuously,
sun.io.UnknownCharacterException
sun.io.UnknownCharacterException
at sun.io.CharToByteISO8859_1.convert(Unknown Source)
at sun.awt.PlatformFont.makeConvertedMultiFontChars(Unknown Source)
at sun.awt.PlatformFont.makeConvertedMultiFontString(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
sun.io.UnknownCharacterException
sun.io.UnknownCharacterException
at sun.io.CharToByteISO8859_1.convert(Unknown Source)
at sun.awt.PlatformFont.makeConvertedMultiFontChars(Unknown Source)
at sun.awt.PlatformFont.makeConvertedMultiFontString(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I try to encodes the string as follow, however, it throws another exception
String x = new String("ChineseWordHere".getBytes("ISO-8859-1"), "Big5");
It throws exception:
java.io.UnsupportedEncodingException: Big-5
at sun.io.Converters.getConverterClass(Unknown Source)
at sun.io.Converters.newConverter(Unknown Source)
at sun.io.ByteToCharConverter.getConverter(Unknown Source)
at java.lang.String.getBTCConverter(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at Test1.<init>(Test1.java:8)
at Test1.main(Test1.java:13)
Do you know how to solve these two problems??
(The most concern is that how to display Chinese in AWT)
ThanksFor starters, you shouldn't use the 8859 encoding since it only supports single byte representations. You should be able to successfully use UTF-8. Then to actually display the characters...or to type them, make sure you have an input method editor (IME) that supports the language - in theory if you are using a Chinese Win2k, you already have this with windows - just use the right font (I think MS Gothic should work) to show the characters. You might want to consider switching to Swing.
Good luck -
Menus in 1.5 displayed with incorrect height on XP
I have just started to use 1.5 and noticed a problem with popup menus (I use XP). A popup menu may be displayed in incorrect rectangle. The height of the menu rectangle is more than it has to be. This creates an empty space at the bottom of the menu. This happens the first time I open a menu for a window, but not afterwards.
Does anybody have the problem? Knows a workaround?The bug you mentioned does not look the same, but may be the same.
I will be happy to send you a screen shot - write me e-mail and I will reply with the picture.
I was actually able to find a workaround. I had to call JPopupMenu.pack() after JPopupMenu.show(). It worked, but was painful. -
Problems in displaying chinese characters with utf-8 encoding
Hi,
I got problem in displaying chinese characters in my web application.
I am creating a web application supporting both English and Chinese charaters. What I am trying to do is:
1. storing some chinese characters via a web page (page1) into database.
2. retrieve the chinese characters via another web page (page2) from the database.
Once I put the Chinese characters on the webpage (page1 in step #1), it displayes well (the readable chinese characters) before I submit this page (after submit, the data will be stored into the database).
But when I tried to display the chiese characters via page2 in step#2, I got un-readable characters displayed.
The running configuration is: Sun Application Server (coming and with the JSC2) and MySQL server 5.0. And I setup the database server with utf8 as character-set.
It seems like the chinese characters got messed up throught the round-trip (from page1<----via jdbc---->database<----via jdbc------>page2).
From the database, I found the chinese characters are there. Any helps are appreciated.Hi,
I am trying to insert new record.The record may contain chineese or English data.
I did same what u specified.
first I converted to the byte UTF8.again,I converted byte to string using 8859_1.
the values are not storing chinese characters.
pls suggest me.
below is my code.
ascCode = req.getParameter("asccode");
countryCode = req.getParameter("countrycode");
ascName = req.getParameter("ascname");
address1 = req.getParameter("ascaddress1");
address2 = req.getParameter("ascaddress2");
System.out.println("ASC NAME:"+ascName);
System.out.println("ADDRESS1:"+address1);
System.out.println("ADDRESS2:"+address2);
ascC = ascCode.getBytes("UTF8");
coun = countryCode.getBytes("UTF8");
ascN = ascName.getBytes("UTF8");
add1 = address1.getBytes("UTF8");
add2 = address2.getBytes("UTF8");
System.out.println("ASC NAME:"+ascN);
System.out.println("ADDRESS1:"+add1);
System.out.println("ADDRESS2:"+add2);
ascCode = new String(ascC,"8859_1");
countryCode= new String(coun,"8859_1");
ascName = new String(ascN,"8859_1");
address1 = new String(add1,"8859_1");
address2 = new String(add2,"8859_1");
System.out.println("ASC NAME:"+ascName);
System.out.println("ADDRESS1:"+address1);
System.out.println("ADDRESS2:"+address2);
thanks. -
Displaying Chinese characters in SQL*Plus
DB version: 11.2
OS Version : AIX 6.1
DB characterset:AL32UTF8
To display chinese characters in SQL*Plus, I did the following:
$ export LANG=zh_CN.UTF-8
$ export LC_ALL=zh_CN.GB2312
$ export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
$
$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on ÐÇÆÚÈý 5ÔÂ 2 15:52:33 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning option
SQL> ALTER SESSION SET NLS_LANGUAGE='SIMPLIFIED CHINESE';
Session altered.
SQL> ALTER SESSION SET NLS_TERRITORY='CHINA';
Session altered.
SQL> select unistr('\8349') from dual; ---- not 100% sure if this is the way to verify if chinese characters can be displayed.
UN
²Ý ----------------------------------------> Getting a junk character instead of chinese If I was using putty, are the above steps enough to get chinese characters displayed ?
Our ssh client is Tectia (not putty).
According the below ML Note, the SSH client has to configured correctly to use globalization features.
+The correct NLS_LANG setting in Unix Environments [ID 264157.1]+
Googling "Tectia + Chinese" didn't return useful resultsI understand that you are talking about Windows SSH Client.
For Putty, you should set:
$ export LANG=zh_CN.UTF-8
$ export LC_ALL=zh_CN.UTF-8
$ export NLS_LANG="SIMPLIFIED CHINESE_CHINA.AL32UTF8"
and configure Putty in Window->Translation to use UTF-8.
There is nothing about this subject on Tectia website and in their manuals, so my best guess is that the client requires Windows code page to work correctly. In such case you need to set your Windows system default locale (locale for non-Unicode programs) to Chinese and use the following settings on the server:
$ export LANG=zh_CN.GBK
$ export LC_ALL=zh_CN.GBK
$ export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
Verify with 'locale -a' that the setting zh_CN.GBK is supported on your system.
-- Sergiusz -
Cannot Input and Display Chinese Characters by using ODBC Applications
Dear all,
I am trying to input the Simplified Chinese Characters in the Oracle Database Ver 9.2 running on a UNIX AIX server. The client application we are using is th MS Access 2003 running on a MS Windows XP English version SP 2 without multi-language pack. MS Office 2003 is also an English version.
Database setting is:
NLS_CHARACTERSET=US7ASCII
NLS_NCHAR_CHARACTERSET=AL16UTF16
The Oracle Client used is also ver 9.2 with the ODBC driver ver 9.2. I have tried the following NLS_LANG settings by chaging the registry without any NLS_LANG environment settings:
AMERICAN_AMERICA.ZHT16MSWIN950
AMERICAN_AMERICA.ZHS16GBK
AMERICAN_AMERICA.ZHT16HKSCS
AMERICAN_AMERICA.AL32UTF8
I have tied to load some Chinese Characters in by sqlload and by using the NLS_LANG AMERICAN_AMERICA.ZHT16MSWIN950, AMERICAN_AMERICA.ZHS16GBK and AMERICAN_AMERICA.ZHT16HKSCS, they can be display perfectly in SQLPLUS. But when using the same NLS_LANGs and display in the ACCESS, only ???? are displayed.
When I tried to insert Chinese in ACCESS, the character changed to ???? again. No matter what Chinese characters I inserted by MS ACCESS, the ???? code can be dump with the binary code "03, 0f".
Are there any methods or settings I need to change to make ACCESS an application for inserting and displaying Chinese characters from the Oracle database?
I have tried to set the Non-Unicode setting in the Windows Locale setting:
Chinese (Taiwan) (With AMERICAN_AMERICA.ZHT16MSWIN950),
Chinese (Hong Kong S.A.R) (with AMERICAN_AMERICA.ZHT16HKSCS) and
Chinese (PRC) (with AMERICAN_AMERICA.ZHS16GBK)
when inserting the Chinese Characters by Access. But they all failed with ???? inserted in the DB.
Please kindly advise what should be done.
Thanks.Are you trying to store the character data in char/varchar2 columns?
If that's the case then you have a problem, since a US7ASCII character set can only handle, well, ascii data.
If you are trying to store the data in columns of nchar datatypes, then there might be a problem with literals because literals are converted to database character set first, before conversion to national (nchar) character set. Such data loss can also happen depending on how binds or oci calls are performed.
You could use the dump() function to verify what's actually stored in a database column, without a db - client conversion happening that may distort the facts.
Example:
SQL> select col, dump(col, 1016) from table where some_condition; -
Netbeans Issue: Servlet do not display Chinese UTF-8 properly
Netbeans Issue: Servlet do not display Chinese UTF-8 properly
Java Version: JDK1.5.0_01, JRE1.5.0_01 (International version)
Netbeans Version: Netbeans IDE 4.0
OS: Windows XP Personal Edition
Dear Sirs,
First at all thanks for reading this post. I am having the following issue. I am creating an application using html pages and servlets. I am using Chinese and English languages on them (html encoding UTF-8).
I created a project in Netbeans and added an idex.html screen reporting to a servlet. Both index.html and in the servlet generated html page contains the line:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Additional, I setup the character code settings in Netbeans:
(tools-options-Java sources-Expert-default encoding=UTF-8
When I run the project, index.html displays itself perfectly, with the Chinese characters displayed properly. The problem comes when the html created servlet is displayed, which instead of the Chinese characters some strange characters are displayed (�� instead of Chinese).
I have tried different encodings from http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html without any luck. I also setup the encoding of the file itself (using right click-properties in the project menu of Netbeans).
Also, when I am editing the servlet, the characters are displayed properly. I type them directly without any issue, but then the display is wrong at runtime.
Also, just in case this have something to do with the problem, my PC was bought in US, therefore the default character set is not Chinese. I had to install the Chinese typing stuff later on. But like I said earlier, the html page is displayed properly, so I really think is some problem with Netbeans.
After a week trying to find a solution, I decided to post it here in the hopes that someone will show me the way of the light.
Thanks in advance for any ideas or help provided
Aral.Hi, thanks for your help. However I think the problem his more complex than it seems. Here is my doPost method (the important parts anyway):
response.setCharacterEncoding("UTF-8"); //Not necessary because the next line should take care of it, but anyways...
response.setContentType("text/html; charset=UTF-8; pageEncoding=UTF-8");
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<meta http-equiv='Content-Language' content='en-us'>");
out.println("<meta http-equiv='Content-Type' content='text/html; charset=utf-8; pageEncoding=utf-8'>"); //Again not necessary line, but anyways
out.println("<title>Servlet</title>");
out.println("</head>");
out.println("<body>");
out.println("this is a test 你好 this is a test");
out.println("</body>");
out.println("</html>");
out.close();
This servlet is called from a html file. Also, when I load this in the browser, I right click on the screen and I can see that UTF-8 is setup allright. Doing some detective job I found that:
- If the editor displays the characters perfectly and...
- Other html pages (no servlets) in the same application can display chinese characters well and...
- I have configured the encoding as UTF-8 in the servlet properties and in general properties and...
- The file "web.xml" contains the encoding UTF-8 in its first line then...
...my only guess is that something goes wrong during the building of the project itself (ant?). Unfortunately I have no idea about configuring ant to that level, but I began to think that the problem may be there, during the compilation...
Any ideas?
Once more, thanks for any help or advice provided.
Aral. -
Display Chinese in JEditorPane
Hi,
I've a problem in displaying Chinese characters in Applet using JEditorPane. The java codes like this:
JEditorPane editorPane = new JEditorPane();
editorPane.setEditable(false);
editorPane.setContentType("text/html; charset=big5");
try {
URL fileURL = getURL("testfile.html"); // get URL from getCodeBase()
displayURL(fileURL, editorPane);
} catch (Exception e) {}
private void displayURL(URL url, JEditorPane editorPane) {
try {
editorPane.setPage(url);
} catch (IOException e) {
System.err.println("Attempted to read a bad URL: " + url);
If I run these codes in JFrame, the Chinese characters can display correctly. But once I convert it to JApplet, all Chinese characters are changed to some squares or some special characters. Should I have something missing from my coding or I wrote something wrong in my code? Please help. Thanks.Hi,
just a guess, i think u can use setContentType to set the MIME type
Ashish -
Display Chinese Word In Crystal Report's Cross-Tab
Hi all,
I am trying to display chinese word in my cystal report. It can be display correctly in detail, page header or formula. But when come to cross-tab, it just will show some funny symbol on it. any idea?
i am using Crystal report xI release 2.
Thank You
WongHi,
I solve it.Just for your reference, change the font type inside cross-tab. -
Display Chinese Character in SQLPLUS
Anyone have any idea how to display a chinese character from the database? Is it possible to display from sqlplus.
nullIt is possible to display Chinese characters in SQL*Plus. The reference manual at http://www.oradoc.com/ora817/server.817/a76966/toc.htm would be a good starting place to learn more.
- CJ
Maybe you are looking for
-
How to display the contents of an array list to a listview?
Hi. How do I display the contents of an arraylist to a listview? Here is my current code: var c: Control= new Control(); var simpleList: ArrayList = c.ListResult; //ListResult is an ArrayList containing strings var simpleListView : ListView = ListVie
-
Is it possible to declare field symbols inside classes? Thanks in advance. Hema Moderator message: please search for information and try yourself before asking. Edited by: Thomas Zloch on Dec 23, 2010 10:55 AM
-
Hot to get authentication header in Salesforce
Hi, How can i get authentication header of Eloqua using salesforce? I am forming the request as given in the below link. http://topliners.eloqua.com/community/code_it/blog/2012/09/21/eloqua-rest-api--authenticating Syntax: siteName + '\' + username
-
when attempting to log into my account on itunes it ask for my password! I put my password in then I get the prompt again asking for my apple password! I put it in again and it still won't take!! What can be going on? I'm trying on my Mac pro !! Ever
-
Barker Models in Forward Engineering: Supertypes aren't generated
Hi, System: PD 16.1 with the latest EBF. For construction of conceptual models I preferably use Barker Notation. When I create a physical model based upon a Barker notated model, Supertypes aren't generated. I dont have the opportunity to check the "