Discoverer Desktop 10g : Issue with Chinese Characters
Hi ,
Discoverer Desktop 10g client is having issue in displaying Chinese data. My report has chinese characters in it and the same does not get displayed properly when run from Discoverer desktop. However, when I export the report in html format and opened it in browser, it is displaying the chinese characters properly. Browser was set to Unicode(UTF-8) character set.
I tried changing to different fonts in Discoverer Desktop, but couldn't get the chinese character issue resolved in Desktop.
Could someone , please tell me how to fix this issue ?
Please mail directly to [email protected]
Thanks
Venkatesh
I am facing the same issue too. I think it is a problem with the fonts. Get back to you later if I find any solutions.
Similar Messages
-
GUI Download Issue with Chinese characters
Hello,
Currently we are upgrading from 4.7 to ECC. I'm using GUI_DOWNLOAD
function module to download the data from SAP to desktop. I do have an
issue with Chinese characters while downloading the file from SAP to ECC.
In 4.7 the Chinese characters are being downloaded (I haven't used any
code page) perfectly, but where as in ECC the downloaded file has junk
characters instead of Chinese.
Is there any change in the GUI_UPLOAD FM.
For your reference below is the code present in the program
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
FILENAME = Z_FILENAME
*****DCDK900543 - Begin of fixing for Unicode conversion ****
FILETYPE = 'WK1'
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = ABAP_TRUE
*****DCDK900543 - End of fixing for Unicode conversion ****
CHANGING
DATA_TAB = I_TAB_TMP
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
INVALID_TYPE = 3
UNKNOWN_ERROR = 4
OTHERS = 5.
Regards,
Bharath.Hi bharat,
please check whether you ecc 6.0 is uni coded or not (as you upgraded).
If it is not uni coded then you will not be able to print the Chinese characters.
You can see whether it is uni coded or not by the following
in your app toolbar under system click on status.
There you can see whether your ecc6.0 is uni coded or not.
Regards,
koolspy. -
Issues with Chinese characters via HTTPRequest
We have the below scenario:
http --> PI --> IDOC
Before the message arrives to PI we do the conection with the below code:
String urlString = WDConfiguration.getConfiguration("local/AIB_PAD").getStringEntry("HTTPURL");
java.net.URL url = new java.net.URL(urlString);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(true);
connection.setRequestMethod("POST");
connection.connect(); //(http connection is made)
this conection transform all chinese characters to "?"
Does anybody knows what is missing to receive the chinese characters to PI correctly?
Thanks.
Edited by: Israel Toledo on Sep 29, 2011 1:27 AMHi Mark,
Thanks for your answer.
We are sure that both systems support chinese characters, because when we see the outbound XML generated on the source system(JAVA SAP Portal) it looks good. Also, when we send an XML to PI via HTTP client using Java script, it works good.
The issue is when we make the connection to PI. I thing some parameter is missing. could be the text code (UTF, unicode), but we are not sure how to change that in the Java code. -
Issue with Chinese characters while sending IDOCs from PI to SAP system
Hi,
We are working on File to IDOC scenario where in some of the fields are having Chinese characters. In SAP system, we noticed that the Chinese characters are getting replaced with # where as in PI output payload we are able to see the correct Chinese characters. The systems involved are PI 7.4 and SAP ECC -6.0.Like in dual stack where we have an option to choose unicode/ non-unicode, i don't see any option in single stack.
However not sure if it works but you can give a try..
I assume you have created the RFC destination in NWA.
Go to RFC destination ->Specific Data -> Advanced Settings - here we have an option to mention the code page.
You might want to mention the code page for chinese char and see if it helps..
Before doing this, do checkMark's suggestion. -
Label printing issue with chinese characters (SAP script)
Hi ,
I have a requirement to print chinese characters on label print out.
Here are the steps already tried:
1) Created a new device type which is copy if ASCIIPRI and character set 8400
2) Font ANDALE_S, CNHEI, CNSONG are assigned to device type, same fonts called in SAP script.
3) During the print, it is picking ANDALE_S font(observed in spool RAW data), but preview is good.
4) I put ZPL codes CW1,B:MSUNG.FNTFS in beginning of script and also ^A@N,50,50,B:MSUNG.FNT while prining actual chinese text in SAP script.
5) also tried other device types assigned to printer LZEBU2, LB_ZEB2 etc.,
6) already checked at printer DIMM level, SIMSUN, ANDALE_S fonts are already installed
7) Character set on printer is same as in SAP
So far no option worked, it default to Courier fonts while printing and it results garbage characters.
If anyone has ideas, please advice.
thank you,
AnilHi,,
If the ZPL commands are correct for switching to the printer's internal CHinese font and character set, it may work to add the fonts via SE73 -> Printer Fonts -> ASCIIPRI . In here you need to add the commands in the print control SFxxx for your created font.
Another possibility is to print via windows and device type CNSAPWIN. Here it should not be necessary to add any font.
Regards,
Aidan -
UNICODE Issue With Chinese Characters
Dear Experts,
I have chinese characters in my data. I want to downlaod this data on front end as ANSI file type and the chinese data should be convertable.
Am able to download using 4120 unicode in gui-downalod. but am not getting fiel format of ANSI if I have chinese characters in my file.
Please hep me.
Thanks in Advance.
Kiran.Hi
You can get the code page of a language using function module NLS_GET_FRONTEND_CP.
Import parameters Value
LANGU CH
FETYPE MS
Export parameters Value
FRONTEND_CODEPAGE 1160
Then pass the code to you program and try.
Shiva -
SAP Adobe Print forms - Issue with Chinese characters
Hi All,
We are using SAP Adobe Print forms to create a business document. This is designed using Adobe Life Cycle Designer (ALD). The form is displayed in Chinese language. The requirement is to display captions for few fields in bold.
When designing the form we have put the caption as BOLD but when the actual form is generated only few characters are displayed in bold.
I am not sure if this is problem with Adobe Reader or should there be any specific fonts to be installed in the ADS server?
Please let me know which all font packs needs to be installed in the local machine?Hi Pat,
Thank you again for your reply.
Now, I changed the font in the designer to "Adobe Song Std L" and made the text as "BOLD". Then I get a message
The following is the Designer screen shot.
Questions:
1. Does "Adobe Song Std L" support characters in BOLD?
2. Do I need to install any of those BOLD fonts? If so, where can I get them?
3. I understand that the BOLD font needs to be installed in the local machine (where the design actually happens so that the font can be specified), the ADS Server (where the actual PDF is rendered) and also in the viewers local machine (where the PDF document is viewed). Is this correct?
4. Is the font a freeware or will there be any licensing issues?
Again, thank you for your responses till now. -
Discoverer Desktop Report issue
Hi,
One of my user is facing a format issue while running the report in Oracle Discoverer 10g. The report produces the following out put.
count(Col A) Col B Col C Col D
12 A 200709 12-Sep-07
11 A 200709 21-Sep-07
24 B 200709 11-Sep-07
32 B 200709 13-Sep-07
10 B 200710 15-Oct-07
Col A is of number data type, Col B character, Col C is number and Col D is date
if Col D is removed from the report, the user is getting the result in following format
count(Col A) Col B Col C
23 A 401418
56 B 401418
10 B 200710
i.e. col C displays the sum of the value based in Col B instead of displaying it as 200709.
but when I ran the report from my end I'm getting the result in a proper manner.
count(Col A) Col B Col C
23 A 200709
56 B 200709
10 B 200710
Please help me in sorting out this issue.
Environment Details:
Oracle Discoverer Admin 10g(9.0.4)
Oracle Discoverer Desktop 10g (9.0.4)
End User Layer 5.0.2
Thanks in Advance.
Regards,
SS@Himanshu3jul:
I'm not using any Oracle Application secure views. Also, the data that are being displayed is proper if Col D is not removed. If user removes Col D, the result is getting aggregated based on Col B but for me it is showing in a perfect manner.
@puppethead:
I'm afraid I may not be able to the check the registry on user machine since user is sitting at a different location.
@Rod West:
The default Aggregate property for Col C is set to <none> and it is grayed out. I'm not able to change it too. Also, if it is a bug then I should get the result as what user receives but I'm not facing any issues in that report but only user is.
Please let me know what can be done next to figure it out.
Also, I have the screen shots from my machine and from user’s. if you think that it will really help then I can post it. please let me know where and how I can post it so that you can have a look at it.
Thanks,
SS -
LoadUserProfile() creates a profile with Chinese characters on a remote system
Hi,
I'm working on an application where LoadUserProfile() is being used to remotely load a user profile on a machine. The token being passed to LoadUserProfile() is obtained from LogonUser().
When doing this only with a Domain Admin user which is added in Active Directory, it creates a profile with Chinese characters in the C:\Users\ folder of the remote machine. Note that this happens only when logging in for the first time with
this Domain Admin account remotely on that machine.
// code:
PROFILEINFO pi;
memset((void *) &pi, 0, sizeof(PROFILEINFO));
pi.dwSize = sizeof(PROFILEINFO);
pi.dwFlags = PI_NOUI;
pi.lpUserName = (TCHAR *)strUser; //strUser is the User name, and it shows correctly here when debugging
if (LoadUserProfile(hToken, &pi))
//It is actually successful, and comes here when debugging.
Although the name shows up correctly when debugging (remotely), why is it creating a profile with Chinese characters on the remote machine?
TIA,
JyCreateProfile won't load the profile. You need to use LoadUserProfile to load the profile, and you need to query for a roaming profile path to put in the lpProfileInfo parameter if you want to include that as well. You need a token for a
user to call LoadUserProfile, but not a profile handle. LoadUserProfile will populate that for you before it returns if it was successful. See this excerpt from
https://msdn.microsoft.com/en-us/library/windows/desktop/bb762281%28v=vs.85%29.aspx:
Upon successful return, the hProfile member
of PROFILEINFO is
a registry key handle opened to the root of the user's hive. It has been opened with full access (KEY_ALL_ACCESS). If a service that is impersonating a user needs to read or write to the user's registry file, use this handle instead of HKEY_CURRENT_USER.
Do not close thehProfile handle.
Instead, pass it to the UnloadUserProfile function.
This function closes the handle. You should ensure that all handles to keys in the user's registry hive are closed. If you do not close all open registry handles, the user's profile fails to unload. For more information, see Registry
Key Security and Access Rights and Registry
Hives.
WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/ -
Problems with Chinese characters
I have a client experiencing 3 distinct problems with their Chinese-localized Fm files:
The SimSun TTF font used in the source Fm files is "uninstalling" itself. This requires reinstallation of the font on a regular basis (every few days).
The colons used in index markers in the Fm source files are not being parsed as Level1IX, Level2IX, etc. in the RoboHelp project. Instead, they are recognized as colons. In other words, the first level marker in Rh is XXXXXXXX:XXXXXXX:XXXXXXX. The same is true for the semicolons.
The conversion settings for the Chinese project do not allow for mapping to individual CSS elements and classes. This means that all of the formatting is controlled via the supplemental CSS generated from the FrameMaker formatting. IOW, the formatting all uses the class="FM_ definitions.
Has anyone had success working with Chinese characters in a FrameMaker to RoboHelp workflow (either linking or importing)?
Anyone else seen any of these issues in Chinese or any other fonts?
I'm thinking the first two issues are likely due to the TrueType font used, but can't find an Adobe OTF SimSans font to use as a replacement.
However, the lack of mapping capability in the conversion process is a stumper...perhaps due to the double-byte font itself.
Any thoughts or solutions are greatly appreciated by my client (whose deadline passed yesterday!)
-MattI dont think you can print chinese chars at the console on window
to print the character codes to the console use someting like that
char [] chars = request.getParameter("whatever").toCharArray()
for(each chars){
System.out.println((int)chars);
then check if you got the corresponding chinese char -
Emails arriving with Chinese characters
Hello,
I have a couple outside contacts that send emails to my users regarding travel. Flight itineraries and the like. Those emails usually have a PDF attached. Not sure if that is relavent or not. The emails display in my users Outlook client (2010) with Chinese
characters and some other odd characters (like a smiley face and hearts).
The research I've done points at the senders email server having the root issue. Perhaps they just had a patch applied and it changed the locale or they may be using a Lotus Notes server.
Lately, we've been getting more in from another outside source with the same problem, so I'm wondering if it isn't actually on my Exchange server (2007). Does anyone have an idea of what I could check to verify that this is or is not on my end of the pipe?
TIAHi,
According to your description, I recommend you use pipeline tracing to troubleshoot the issue.
Please refer to the following article to understand pipeline tracing:
Using Pipeline Tracing to Diagnose Transport Agent Problems
Pipeline tracing is a diagnostic feature in Microsoft Exchange Server 2007 that enables you to capture diagnostic information about e-mail messages as they encounter transport agents registered on Simple Mail Transfer Protocol (SMTP) events in the transport
pipeline. Exchange captures verbose information about the changes that each transport agent applies to messages in the transport pipeline in message snapshot files. If transport rules are configured, Exchange Server also records any actions that each transport
rule takes on these messages.
How to Enable Pipeline Tracing
Hope this helps!
Thanks.
Niko Cheng
TechNet Community Support -
Reply email with chinese characters become
My colleagues sent an email with Chinese characters while I'm outside the office, so I replied it using my iPhone 4S with Chinese characters too.
However, my colleagues (she is using Outlook) said the email that she received is not readable. All the Chinese characters become garbled.
This issue also applied to iPad 2 because I again resent it using my iPad 2.
Is there a way to overcome this issue? Otherwise, I cannot do my work when I'm away my desk.
Pls help~If I create a new mail using my iPhone 4GS or iPad 2, I won't have the problem.
This issue only applied when I reply or forward an email from my colleagues whoes emails contain Chinese characters. To avoid this issue, the only language I can use is typing English but some of my colleagues only understand Chinese.
I believe this problem is an encolding issue too because this case also apply on the Mail in my MacBook Pro. But I can change my encoding to "Traditional Chinese - Big 5" on Mail in my MBP but iPhone & iPad don't have this function.
The problem still there even I switched the OS language b/w English and Chinese. -
Issue with chinese description for Customer master
Dear All,
In customer master there are few records with chinese characters. Now interesting thing is that sort field, street city etc are showning correct values in chinese characters but for medium description it is showing "#" .
Why it is not showing chinese characters in only medium description field?
Regards,
SSHi,
Please check the language for the medium descritption field in the infoObject master data for the particular entry.
Are there multiple languages maintained? what are the medium description texts against those?
This can help to isolate the issue.
Hope this helps!
Regards,
Saurabh -
Web Logic 10.3 upgrade causes issues with escaped characters in JSP.
We recently upgraded our application servers from Weblogic 9.2 to Weblogic 10.3 and we are having an issue with escaped characters in a JSP code. Here is an example of what we are seeing:
var convertedBody1 = document.getElementById('body').value.replace(/\$FIRST_NAME\$/g, firstName);
This code works in Weblogic 9.2. In Weblogic 10.3 we have to make the following changes:
var convertedBody1 = document.getElementById('body').value.replace(/\$FIRST_NAME\$/g, firstName);
Thanks, TomHi:
I have resolved the issue with the following in the jspx page.
Put an
<jsp:scriptlet>
response.setContentType(“text/html; charset=UTF-8”);
</jsp:scriptlet>
Inside the <f:view> on the jspx file.
Please refer the link http://www.oracle.com/global/il/support/tip/nlss11061.html for more details. It is helpful.
Thanks & Regards
Sridhar Doki -
How to use a select statement with chinese characters?
I am currently developing a java servlet<using tomcat 4.x> which allows me to use select statement to retrieve results from the Microsoft SQL Server 2000 database. I am using a simple form to get the parameter for querying. The main problem i'm facing is that there are chinese information in the SQL database, but i can't retrieve it through the sql statement with the chinese characters input<thru the form with the help of NJ STAR>in the WHERE condition. When i execute the statement, it returns me no results even though the rows are present in the database.
Does anyone have the solution to using chinese words in the WHERE clause of the select statement to retrieve results with columns which contains chinese characters? Please help me. Thanks everyone. :)
PS: when i cut and paste those characters in the sql database and paste onto java.. it is ??? in questionmarks.. but when i paste them into excel 2000.. its shown as chinese chars again..
please heelppp~~Greetings,
PS: when i cut and paste those characters in thesql
database and paste onto java.. it is ??? in
questionmarks.. but when i paste them into excelThis is why the SELECT is not returning any results.
You need to set the character encoding set on your
statement and parameters for the characters to be
properly translated. Refer to the charsetName
parameter in the String class constructor in your API
docs and also to
$JDK_DOCS/guide/intl/encoding.doc.html in your JDK
documentation.
2000.. its shown as chinese chars again..Because Office programs are performing the same kind
of character translation with the appropriate MS APIs.
please heelppp~~Regards,
Tony "Vee Schade" Cookis it possible for you to show me some coding examples? i don't really understand what is to be done in order to set the char set and what does it really do.. tried reading up but still dun understand.. :(
pardon my shallow knowledge of java..
ok..
The thing is when i used an insert statement with chinese characters of GBK format hardcoded into the java servlet and then i use the insert statement to insert the chars into the database, it cannot be seen as a chinese word when i off the NJStar. and then it can be searched out with my current form of servlet.. below is my coding of the servlet..
note: i've set my html file to charset = GBK
//prototype of Search engine...
//workable for GBK input and output...
import java.io.*;
import java.io.OutputStream;
import java.io.IOException;
import javax.servlet.http.*;
import javax.servlet.ServletException;
import java.util.*;
import java.sql.*;
import java.nio.charset.Charset;
public class SearchBeta extends HttpServlet {
private Vector musicDetails = new Vector();
private String query = "";
public void service (HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException, UnsupportedEncodingException {
query = req.getParameter ("T1");
System.out.println("before:"+query);
String type = req.getParameter ("D1");//type
query = req.getParameter ("T1");
//query = "������";
System.out.println("after:"+query);
getResults(type,query);
System.out.println("locale = :"+req.getLocale());
res.setContentType ("text/html;charset=GBK");
PrintWriter out = res.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<body bgcolor = \"black\">");
out.println("<font face = \"comic sans ms\" color=\"Cornsilk\">");
if (query.length()==0)
out.println ("Please key in your search query.");
else if (musicDetails.size()==0)
out.println ("Sorry, no results matching your search can be found.");
else {
out.println("<center>");
out.println("<table cellspacing = \"50\">");
int i = 0;
//Display the details of the music
while (i<musicDetails.size()) {
Results details = (Results)musicDetails.get(i);
String dbArtist = "";
String dbAlbum = "";
String dbTitle = "";
String dbCompany = "";
dbAlbum = details.getAlbum();
dbTitle = details.getTitle();
dbCompany = details.getCompany();
dbArtist = details.getArtist();
try{
dbAlbum = new String(dbAlbum.getBytes("ISO-8859-1"),"GBK");
dbTitle = new String(dbTitle.getBytes("ISO-8859-1"),"GBK");
dbCompany = new String(dbCompany.getBytes("ISO-8859-1"),"GBK");
dbArtist = new String(dbArtist.getBytes("ISO-8859-1"),"GBK");//correct translation.
catch(UnsupportedEncodingException e){
System.out.print(e);
e.printStackTrace();
String dbImage_loc = details.getImage();
out.println("<tr>");
out.println("<td><table>");
out.println("<img src=C:\\Program Files\\Apache Group\\Tomcat 4.1\\webapps\\examples\\ThumbNails\\"+dbImage_loc+">");
out.println("<tr>");
out.println("<th><font color=\"violet\"> Artist: </font></th>");
out.println("<td><font color=\"Cornsilk\">"+dbArtist+"</font></td>");
out.println("</tr>");
out.println("<tr>");
out.println("<th><font color=\"violet\"> Title: </font></th>");
out.println("<td><font color=\"Cornsilk\">"+dbTitle+"</font></td>");
out.println("</tr>");
out.println("<tr>");
out.println("<th><font color=\"violet\"> Company: </font></th>");
out.println("<td><font color=\"Cornsilk\">"+dbCompany+"</font></td>");
out.println("</tr>");
System.out.println("album: "+ dbAlbum);
out.println("<tr>");
out.println("<th><font color=\"violet\"> Album: </font></th>");
out.println("<td><font color=\"Cornsilk\">"+dbAlbum+"</font></td>");
out.println("</tr>");
System.out.println("company: "+ dbCompany);
out.println("</table></td>");
out.println("</tr>");
i++;
out.println("</table>");
out.println("</center>");
out.println("</font>");
out.println("</body>");
out.println("</head>");
out.println("</html>");
out.close();
//to remove all the elements from the Vector
musicDetails.removeAllElements();
//get Searched Music Details and store in Results object which is stored in musicDetails vector
public void getResults (String type, String searchQuery) {
try {
Class.forName ("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=music","sa","kokkeng");
Statement stmt = con.createStatement();
String query = "SELECT * FROM MusicDetails WHERE "+type+" = '"+searchQuery+"'";
ResultSet rs = stmt.executeQuery(query);
while (rs.next()) {
String artist = rs.getString("Artist");
String title = rs.getString("Song");
String company = rs.getString("Company");
String album = rs.getString("Album");
String image_loc = rs.getString("Image");
Results details = new Results (artist,title,company,album,image_loc);
musicDetails.add(details);
stmt.close();
con.close();
catch (Exception e) {
System.out.println(e.getMessage());
e.printStackTrace();
with the above servlet i created, i can search out the data in the database which i've inserted through the insert statement. I still can't search for things i've keyed into the database directly using NJStar..
thank you so much for helping.. really hope any one else who knows the answer to this will reply too... thank you all so much...
-KK
Maybe you are looking for
-
Please open this VI and screen shot for me.. thanks
Could any kind soul here, please open up this VI and post the screen-shot the block diagram here? I need to look at the block diagram now but I do not have LV installed on my current computer. It is a LV2010 vi. Many thanks.. Attachments: Crop#51e.vi
-
I purchased an I book for the first time and now I can not find it. I thought it would bean icon on my apps page. Where did it go"?
-
How do I delay delivery of an email?
I want to send an email several days after I compose it.
-
Flash player encounter problems that long video are cut to a lot of 6:00 seconds small videos
A lot of times, when I use my 2013 13'' macbook pro retina notebook's Safari to view flash video, the long video are cut to a lot of about 6:00 seconds small videos, and when one pieces of them played over, the next piece is not start. So I need to
-
When will the iPod Touch 5g be available in Philippines stores?
when will the iPod Touch 5g be available in Philippines stores?