The problem of Chinese character Mis-coding

The version of my bea weblogic workshop is 8.1.3(build 2004.0630.115102).When I wrote some Chinese character in the jsp file,the Mis-coding appear.How can I resolve this problem?

Thanks for your reply.
I install the workshop on the window2000,and it's a locale specific one.
I have resolve the problem with my workmate.Just open the menu->Tools->IDE Properties->Display,set the window font as Default and set the Source view font as Chinese character.Then everything is ok in restarting the workshop.

Similar Messages

  • Problem with chinese character for dot matrix epson LQ-1600K III

    Hi All,
    I really runs out of idea about my problem now. The problem is about Print Chinese character to dot matrix printer (Epson LQ-1600K III). I tried to so many device type to solve this issue, looks like the only device type can be use are CNSAPWIN and CNEPSON with CNSONG font type. The others if I print to the printer, the chinese character became # (although in the print preview it`s okay and display correctly).
    Here is the bottleneck if I use CNEPSON:
    - if I have 2 window at the left and right position, if the left window has chinese character, the right window automatically shift right about 1.5 CM, which is damn weird!!! Can somebody help me
    - I tried so many ways to adjust the line size for my detail window (to cater positioning at pre-printed boxes), but looks the font size always become 10pt and line size cannot be adjustable (based on smartstyle).BUT if I used device type epescp2, it can be done!
    Here is the bottleneck if I use CNSAPWIN:
    - I need to create format type in windows and SAP (SPAD). and every PC that use this printer, must define the Paper size ( China Special paper size 12inch)
    - I also think this is not a good idea because as I far as I know this is not the correct way..
    Therefore, if somebody has experience about printer chinese character to dot matrix for Smartform and sapscript..please kindly help me give some advice.
    Do I use the wrong device type?
    Thanks in advance!
    Regards,
    Willy

    Hi friends , we are using the same model ....
    Are you using the chinese version operation system ? because we can print the chinese charaters without problem in LQ 1600KIII .....
    We are using CNSAPWIN device type + Frondend printing access method ....
    Carlos Zhang

  • Problems displaying Chinese character songs.

    Hi,
    I just transfered my library from my old computer to Windows 7 and the songs with foreign characters such as Chinese display correct when I browse through my library. However, it converts to random characters after I play the song one time.
    Is there a fix to this problem?
    Thanks.

    If you see squares, that means you are using a font that can't render those characters. Choose a font that can.

  • Changing the size of Chinese character options

    When typing Chinese using pinyin (romanization) a small box with all the possible characters pops up. I was wondering if there was any way to change the font size of the options in that pop up. Maybe I'm in the wrong forum, though.
    Thanks for any help.

    You set the size in the Preferences, which you find toward the bottom of the "flag" menu when the Chinese IM is active.
    http://www.yale.edu/chinesemac/pages/scim_x4.html

  • Chinese Character display issue on Coldfusion 10

    My Company using Coldfusion to built an report platform and recently I upgrade our Coldfusion 7MX with Windows Server 2003 to Coldfusion 10 Enterprise with Windosw Server 2008 R2.
    I copy the Code from the Old server to the new one, but I met the problem I couldn’t solve.
    We have a repost that can enter, modify and view our SRM that has Chinese Character display request. Chinese character was display without problem when the system in the old server. which look like following.
    once I move the code into the new server, I got the problem with Chinese Character as following.
    This report pulling the data from SQL2005 with Windows Server 2003 R2.
    Coldfusion code code was same and both version is access to the same database.
    I ran all of the update included to install the windows MUI for Chinese character into the new server,  but I still can't get the character display correctly.
    I can view the chinese character website without issue but only to display in the report.
    I contact with Microsoft tech support but they don't have an solution for me. please help.

    Install windows server language pack:  http://www.microsoft.com/en-us/download/details.aspx?id=12250
    Are you sure the Chinese is encoded in UTF-8?  (It should be, but you should check the database field type encoding.)  If it's simplified chinese it could be set to GB18030 and if it's traditional chinese it could be Big5.
    You might want to leave off the encoding directive in CF and load the page in a browser then change encodings using tools > encodings  to see what works.
    祝你好运!

  • Chinese character overlap in PDF file

    Hi guyz,
    I am working on the issue on Chinese character overlap in PDF file.
    There is smartform which is being used to generate ePaySlip(Comes in email) in PDF file format which contains Chinese and English both characters.
    Now the issue is that at the bottom of the ePaySlip there is a Remark section which is maintained in Chinese and English both. However, the English sentences are proper withour any problem whereas the same thing in Chinese is showing as distorted/overlapped in few words.
    Can anyone suggest what could be the cause and suggest some solution.
    As when I checked in smartform those characters are hard coded and Chinese characters are shown as ###.
    Please response, I would be really grateful.
    Thanks & Regards,
    Mini

    Hi,
    there a different things to know.
    I produce sapscript forms with cinese and english characters for frontend / backend and archiv printing.
    Please check:
    Editor displays ###: You have to install the chinese language in your e.g. windows-system to display them.
    Script: You have to chose the the font family "CNSONG" (customized for chinese simplified and LATIN).
    Transaction I18N: May you have to set correct subfonts for the unicode areas (Cascading fonts, Standard is Courier).
    You can print in different ways:
    For archiv/PDF: Install the unicode truetype font with chinese characters for the pdf-converter.
    For Frontend: Use the Frontendprinter SAPWIN or SAPWIN*CF (Cascading Font) to send it to the gui (note: SAPLPD does not support it, use the newer technology.....)
    Backend printing: POSTSCRIPT is not yet implemented :-((
    PLease note: What you see in spool / print preview is a simulation of the possible print, but backend print is not frontend preview!!!!
    Regards,
    Christian

  • Convert chinese character to unicode

    hello,i have a problem.
    how can i know the unicode of chinese character in a file?
    like this character ' 称 ' in a file a.txt
    then how can i do to read the a.txt file then get the unicode of the character?
    really need help..

    i want to know what is the algorithm and the coding
    of that tool.
    thanksYou might consider downloading the open source project and looking directly at the code for that tool. I imagine that you could create something similar in...oh, maybe 25 lines of code.
    retrieve the command line args
    open the specified file using the charset encoding specified
    for (all characters in the file) {
    if character is > 0xFF convert to \uXXXX
    output character to new file
    John O'Conner

  • Sender proxy to sap pi -chinese character

    Hi experts,
    I am having a scenario sender proxy to sap pi. Via the proxy , some chinese character are send into sap pi and during my sxmb_moni the receiver ( inbound message payload) is in BOXES. I tried to debug the proxy and it is sending chinese characters to sap pi but only problem when it arrives to sap PI it becomes into Boxes.
    I have done researc and they have mention to use RFC Unicode. I have configured but it is the same problem into boxes.
    Please help me.  PLZ..

    Hi Mark,
    Thanks a lot for your reply. Basically it is Abap proxy. Do you think it is possible to use UTF-8 or UTF16 in your XML encoding for abap proxy. I am not so good in abap proxy and it is generated by abaper. Pleae advise me if i am wrong..

  • Chinese Character Support On MediaSource Organi

    Hi,
    I have MP3 song with filename in Chinese characters. On my Windows XP, I can view the filename in Chinese character using Windows File Explorer. Even the ID Tag also no problem. But when I use MediaSource Organizer, all my chinese character MP3 filename displayed as rubbish. Is there anyway I can make MediaSource to display chinese character without resorting to third party software since by nati've, Windows XP support chinese character viewing features.
    Thanks,Felix

    caniggia wrote:
    Hi guys. I'm using Win2000 version and it's diff. from XP.
    Anyone can help on this? Thks!
    You will need to install a language viewer. For example, to view Chinese/Korean/Janpanese, you can install NJ Star viewer.

  • NetBeans problem: Issue with servlets and Chinese character encoding

    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.

    Ok, I found out some problems with Netbeans as well.
        public void doGet(HttpServletRequest request,
                          HttpServletResponse response)
            throws IOException, ServletException
            response.setCharacterEncoding("UTF-8");
            request.setCharacterEncoding("UTF-8");
            response.setContentType("text/html");
            PrintWriter out = response.getWriter();
            byte[] st = {-25,-75,-124,-27,-100,-106,-17,-68,-102,-27,-80,-113,-27,-72,-125,-26,-118,-75,-26,-105,-91,-27,-82,-93};
            out.println("this works: ");
            out.println(new String(st,"UTF-8"));
            out.println("<br>");
            out.println("this doesn't: ");
            out.println("some chinese copied from the Internet<br>");Right click the .java file and choose properties -> encoding UTF-8
    Then I make a copy of the .java file, rename it to html and open it with IE sure enough
    the Chinise is allready unreadable (not it's still readable in the IDE);
    When I compile the file with F9 I get the following error:
    whatever.java:101: warning: unmappable character for encoding Cp1252
    Tried to set the encoding to UNICODE but then the file doesn't compile.
    I gues you have to download the Japanese version for it to work correctly.

  • Problem in parsing date having Chinese character when dateformat is 'MMM'

    I m calling jsp page using following code:
    var ratewin = window.showModalDialog("Details.jsp?startDate="+startDate,window, dlgSettings );
    In my javascript when checked by adding alerts I m getting correct values before passing to jsp,
    alert("startDate:"+startDate);
    In jsp page my code is like below:
    String startDate = request.getParameter("startDate");     
    but here I m getting garbage values in month when the dateformat is 'MMM', because of which date parsing is failing.
    This happens only Chinese character.
    following 2 encoding are already in my jsp page,can anyone help to find solution?
         <%@ page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
         <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"/>
    I have even tried to read it as UTF-8 but still that's failing.

    This is my actual code
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Locale;
    public class TestingDate {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String dateFormat="EEEE, MMM d h:mm a";
              Date test=new Date(2007,0,19, 19, 31);
              System.out.println(" original date is "+test);
              String stringResult=DateToString(test,dateFormat);
              System.out.println("Date to string is "+stringResult);
              Date dateResult=stringToDate(stringResult,dateFormat);
              System.out.println(" String to date is "+dateResult);
              String stringResult2=DateToString(dateResult,dateFormat);
              System.out.println(" Date to string  is "+stringResult2);
    public static String DateToString(Date test, String dateFormat) {
             String result = null;
             try {
                  DateFormat myDateFormat = new SimpleDateFormat(dateFormat);
                     result = myDateFormat.format(test);
                     //System.out.println(" reslut date is "+result);
              } catch (Exception e) {
                   System.out.println(" Exception is "+e);
              return result;
    public static Date stringToDate(String strDate,String dateFormat1){
         Date result1=null;
         try {
              DateFormat myDateFormat = new SimpleDateFormat(dateFormat1);
              result1=myDateFormat.parse(strDate);
         catch(Exception e){
              System.out.println(" exception is "+e);
         return result1;
    }I am facing problem in getting the actual date. Please suggest the solution.

  • Get Chinese Character Problem

    Hi,
    i'm facing a problem when i try to get the Chinese word from database. It should display "�W��������" rather then "?????".
    i tried to change the page encoding from "UTF-8" to "GB2312" but it still doesn't work.
    Anyone have any idea on this?
    Thanks.
    null

    Hi,
    I have no problem with getting the chinese character in my localPC with the following code.
    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    But when i upload it to linux server and access it in my local PC, i found the same problem occured. So, i added
    request.setCharacterEncoding("UTF-8");
    As i need to pass this value to another page, so i encode it by using URLEncode like below before go to the other page :-
    artistName = java.net.URLEncoder.encode(artistName,"UTF-8");
    Anyone can help me on this?
    Thanks
    null

  • How to Export the chinese character in excel using java

    Hi,
    Our application using in English, German, Franch and chinese.
    String chineseCharacter=""; // chineseCharacter like &#38263;&#38271;&#29248;&#24202;&#26481;&#19996;&#24447;&#20315;. This chinese data coming from oracle database..
    My code
    BufferedWriter printer = new BufferedWriter(new OutputStreamWriter(responses.getOutputStream(),"utf-8"));
    responses.setContentType("application/download");
    responses.setHeader("Cache-Control", "cache");
    responses.setHeader("pragma", "cache");
    ExcelCSVPrinter outcr = new ExcelCSVPrinter(printer);
    String displayname="ChineseReport.csv";
    responses.setHeader("Content-Disposition","inline; filename=\"" + displayname + "\"");
    outcr.write("Report Header Name");
    outcr.writeln();
    outcr.write(chineseCharacter);
    outcr.writeln();
    After export the data to excel show the result for 長长牀床東东彿佛. But not show the original result &#38263;&#38271;&#29248;&#24202;&#26481;&#19996;&#24447;&#20315;
    I use the following stmt
    responses.setContentType("text/html charset=UTF-8");
    Its shows the correct result for chinese character.
    I use the below statement
    responses.setContentType("application/download; charset=UTF-8");
    or
    responses.setContentType("application/vnd.ms-excelset;charset=UTF-8");      
    or     
    responses.setContentType("application/vnd.ms-excel;charset=UTF-8");
    The out put show the in the excel sheet ???????? or some other jung characters.
    What can i do here?. After export,I want to show the original chinese character in the excel sheet using the ExcelCSVPrinter.
    Thanks & Regards
    Thendral
    Edited by: palanithendral on Dec 24, 2009 5:14 AM
    Edited by: palanithendral on Dec 29, 2009 11:41 AM

    palanithendral wrote:
    Hi,
    Our application using in English, German, Franch and chinese.You have several different idioms in your application and have not accurately identified where the actual problem is. You have all of the following
    -database
    -http
    -excel
    -excel in http
    -display on the target computer
    The first step with these sorts of problem is to identify where the problem actually occurs.
    String chineseCharacter=""; // chineseCharacter like &#38263;&#38271;&#29248;&#24202;&#26481;&#19996;&#24447;&#20315;. This chinese data coming from oracle database..A good theory. Now explain how you proved that that is what is coming from the database.
    After export the data to excel show the result for 長长牀床東东彿佛.As another example. Presumably you are referring to what the browser on the target computer displays. Your theory is that that computer and that browser (together) will display the correct information if they had the correct data. How did you prove that?

  • My iMac keeps typing a minus sign. I switched my wireless keyboard for a plug in Windows keyboard, and it keeps typing this one character. I took the batteries out of the Mac keyboard, so that is not the problem. I am running Mac OS X 10.6.8.

    my iMac keeps typing a minus sign. I switched my wireless keyboard for a plug in Windows keyboard, and it keeps typing this one character. I took the batteries out of the Mac keyboard, so that is not the problem. I am running Mac OS X 10.6.8. In parallels, I don't have any problem, just on the Mac platform.

    tebasj wrote:
    Thanks for your observation. I realize they are different versions, but when I use the "Software Update" menu, this is as far as it would update. Is there some way to update the iMac beyond what "Software Update" does? I've tried it several times.
    Please Note.
    Upgrading OSX 10.6.8 (Snow Leopard) to 10.8.3 (Mountain Lion) is not an update. It is a paid upgrade. Just as with 10.7 (Lion) you must purchase it from the App Store with yor Apple ID and install it after backing up your current computer state for safety.
    Cheers
    Pete

  • How to download the chinese character using GUI_DOWNLOAD

    How to download the chinese character using GUI_DOWNLOAD from SAP 4.6c

    Hi,
       Make sure that the chinese font is installed in your system, because when you download in excel, the character formats are taken from the Frontend.  For detail see the below thread.
    [link1|Re: Download Chinese character]
    Thanks,
    Asit Purbey.

Maybe you are looking for

  • Form service not available for few users

    Dear all, we have nearly 500 users connected to Oracle App server 9i Release " ". We have a main form called "main.fmx" . In middle of the day a change my "main.fmx". As user are connected i cannot replace it. So what i do is 1) I first rename the "m

  • Mac mini, thunderbolt and two monitors

    Hi all, I have a late 2012 Mac Mini, and a 27" LED Cinema display.  I want to connect two monitors to the mini.  I was thinking about buying a 27" Thunderbolt display to connect via the Thunderbolt port, then daisy chaining the LED Cinema (via mini-D

  • Is Wifi possible on the 8310 Curve?

    Hi, I am in the UK.  My service provider is O2.  They tell me it should be possible to connect to my home Wifi.  There doesn't seem to be any option to do this on my phone.  Is this because this model (8310) does not have that capability?  Or am I mi

  • Cannot Import .CRW Files from Canon S70

    I have imported thousands of RAW format photographs from my Canon 20D (.CR2) and 1Ds (TIF); however, none of the .CRW files from my Canon S70 will import. There is nothing wrong with the files themselves, as I can open them in Photoshop CS2 and Bridg

  • I need help to reload my purchases to my new mac!

    I need help to reload my purchases to my new mac! My other mac harddisk died withou warning. When I log on to itunes store with my apple ID>purchased (new) i only get the lists for apps and books. Not music. Anybody know a different way to redownload