Unicode - Garbled Japanese char on EN logon

Hi Everyone,
We recently upgraded our system, from a non-unicode to a unicode system. Whenever i view a SAPscript report using english logon that contains both japanese & english characters in one field, the print preview is ok, displaying correct data in both languages. The problem arises when i try to print the report. All japanese characters are garbled, while all english characters are still ok.
I tried logging in using japanese language, and printed a japanese report that uses both characters, and everything was ok, in both print preview & hardcopy printout.
BTW, we're using version 640 for our SAP GUI, with patch level 19. I've also tried OSS numbers 734790, 839959, & 1027088, but they all didn't do the trick.
Hoping for your inputs. Thanks in advance!

Hi,
If your system is unicode enabled, you should use true type fonts in the paragraph format to display the multi language characters. In the japanese language form did you use any special type of font types you use? Normally all the special font types will support english and not all the english fonts will support the local language characters.
Since the output is printing fine with the Janpanese language there should not be any problem with the printer drivers, otherwise we need to check the drivers also.
Hope this helps you

Similar Messages

  • ThrowNew() with Japanese chars went wrong

    Hi All.
    I want to throw exception that has Japanese chars from C++ code.
    char szMsg[256];
    // put Japanese chars into szMsg.
    // ... and throw exception.
    env->ThrowNew(exceptionClass, (const char*)szMsg);
    Then, in Java code, it is displayed with unreadable characters like "????".
    How can I get a readable string from C++?
    Thank you.

    Thank you for your reply.
    But I'm not familiar with C++, could you tell me in detail?
    My project is compiled with _MBCS option, and I tried to convert string to UNICODE to get readable string in JNI by using
    (1) MultiByteToWideChar(...)
    const char* szErrMsg = "...."; // including Japanese character
    WCHAR szUnicodeMsg[256];
    MultiByteToWideChar(GetACP(), 0, szErrMsg, -1, szUnicodeMsg,
    sizeof(szUnicodeMsg)/sizeof(wchar_t));
    env->ThrowNew(ExceptionCls, (const char*)szUnicodeMsg);
    (2) mbstowcs(...)
    mbstowcs(szUnicodeMsg, szErrMsg, strlen(szErrMsg)+1);
    env->ThrowNew(ExceptionCls, (const char*)szUnicodeMsg);
    (3) T2CW() macro
    env->ThrowNew(ExceptionCls, (const char*)T2CW(szErrMsg));
    Result
    In case (1), unexpected string (like "B0D0F0H0J0?0") was displayed.
    (by calling Throwable#getMessage() in JNI)
    In case (2), only '?' was displayed in JNI.
    In case (3), I got the same result as case (1).
    Do you mean another way?
    Thank you.

  • Japanese chars display in Solaris 8

    I have a sun box with solaris 8 and Windows NT. I had FTP a notepad file containing japanese text from windows NT to the Solaris Environment but whenever the file is opened in solaris using editors like vi or dtpad, some special characters appear in place of japanese chars. I have also tried :-
    -- FTP the file in binary form from windows to solaris
    -- Changing the "locale" value to ja_JP.UTF8
    -- Changing the language option to en_US.UTF8 at the login screen.
    But the problem still persists. Kindly help me out.
    Atul

    UTF8 will make your head melt.
    setenv LANG ja_JP.eucJP
    sjtoeuc FILE
    (I use mutt in japanese on solaris all the time and most of my mail is in japanese ^^;;)

  • Garbled Japanese Characters in WebPage

    Dear All,
    My problem is when I create a SC on Japanese version WebPage. the WebPage Screen float some Garbled Japanese Characters. I dont know where is from. and have no clue.
    Float characters is like this :%e5%b7%d8%bb%9d%dk%98%b4%a2......and some Label that like mouse glide garbage.
    I can't find any OSS note. You can give me your idea or way for this problem...
    Who can help me?
    Thanks a lot.

    Hi Masa,
    Other field is good, this field about search vendor. Could you give me your any mailbox I will send screen copy to you.
    When you see it you can understand my problem. and my e-m is <removed by moderator>
    Thanks a lot.
    Justin

  • Problem displaying Japanese char set in JEditorPane

    Hi ,
    I am using JEditorPane for displaying html content. If the content is in English
    it is getting displayed properly . In case of Japanese char set like Shift-JIS only square
    boxes is displayed .
    I have tried the following
    1.Installed Japanese font and set regional and language options.
    2.set content type of JEditorPane as text/html and char set=Shift-JIS
    3.Used InputSteamReader for reading html document .While constructing passed char set also.
    4.Used SetText to set html content.
    5.verified font.properties file
    I am Using JDK 1.4.2
    No positive results.
    Kindly help me to resolve this . If it known bug please inform.
    U can connect me at [email protected]
    Thanks in Advance,
    Polu

    Hi,
    Thanks,
    I have tried the approach has mentioned above but still no positive result,
    Pls can u guide me ,so as to what might be the problem,
    Cheers,

  • Form English Char ( Single Byte  ) TO Double Byte ( Japanese Char )

    Hello EveryOne !!!!
    I need Help !!
    I am new to Java ,.... I got assignment where i need to Check the String , if that string Contains Any Non Japanse Character ( a~z , A~Z , 0 -9 ) then this should be replaced with Double Byte ( Japanese Char )...
    I am using Java 1.2 ..
    Please guide me ...
    thanks and regards
    Maruti Chavan

    hello ..
    as you all asked Detail requirement here i an pasting C code where 'a' is passed as input character ..after process it is giving me Double Byte Japanese "A" .. i want this to be Done ..using this i am able to Convert APLHA-Numeric from singale byte to Doubel Byte ( Japanse ) ...
    Same program i want to Java ... so pleas guide me ..
    #include <stdio.h>
    int main( int argc, char *argv[] )
    char c[2];
    char d[3];
    strcpy( c, "a" ); // a is input char
    d[0] = 0xa3;
    d[1] = c[0] + 0x80;
    printf( ":%s:\n", c ); // Orginal Single byte char
    printf( ":%s:\n", d ); // Converted Double Byte ..
    please ..
    thax and regards
    Maruti Chavan

  • WebUtil Using Client_Text_IO with Japanese chars

    Hi, I am trying to use Client_Text_IO to read text file with Japanese characters in it. But it seems like Client_Text_IO can't read Japanese chars properly. Can anyone tell me how to use Client_Text_IO with double byte
    chars like Japanese?
    Thanks in advance for any help.
    Tad Teramoto

    Hi Frank,
    Thank you for your reply. Could you be a bit more specific about what this bug 3075927 really is? Is this a problem only in handling files with muli-byte chars or does it have an effect on other functions? And is there any workaround for it?
    Thanks

  • Read japanese char from oracle

    I have a database column stores japanese char in Shift-JIS encoding. A
    perl script can read the database and display the result on browser.
    But If i try the get the japanese string in Java using JDBC. I got an
    exception:
    String text = resultset.getString(1);
    Exception in main(): java.sql.SQLException: Fail to convert between
    UTF8 and UCS2: failUTF8Conv
    I wonder why I getting this exception and how to fix this?
    thanks

    Hi
    We had faced the same problem.
    Problem was with oracle jdbc thin driver.
    We change the driver from THIN to OCI that works fine.
    Try this option and pls let me know.
    Regards,
    Aslam A.S

  • Garbled Japanese characters

    Hello,
    When i visit this page, some of the Japanese characters in the right part of the page, appear garbled. How can i fix that?
    http://www.nhk.or.jp/sokuho/jishin/index.html
    I am using Adobe flash plugin version 10.2.152.33 in Mozilla Firefox 4.0 on Mac OS X
    Screen capture:

              BTW, we're using PrintWriter to print the content out to a file. Below is the method
              use:
              response.setHeader("Content-Disposition", "attachment; filename=\""+file+"\"");
              PrintWriter out = response.getWriter(); out.print(content);
              "AK" <[email protected]> wrote:
              >
              >Hi all,
              > We're facing some garbled Japanese characters problem in our downloaded
              >data,
              >we're using Weblogic 6.1 SP3.
              >
              > The method we use to set the character encoding are as follows:
              >
              >In JSP:
              ><%@ page contentType="text/html; charset=Shift_JIS" pageEncoding="Shift_JIS"%>
              >
              ><meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
              >
              >
              >In Servlet:
              >response.setContentType("application/http; charset=Shift_JIS");
              >
              >
              >Do I need to have additional settings to make it works? Any help is very
              >much
              >appreciated.
              

  • Unicode to Japanese characters

    Hi,
    I need a function to convert unicode to Japanese characters. I have a unicode string in my syncBO and it needs to be converted to the "strange" Japanese characters.
    When I read the unicode String from the MAMText files it is automatically done by the MI framework.
    Unicode string example: \u6A5F\u80FD\u5834\u6240\u4E00\u89A7
    Are there standard MI functions for me which are converting these kind of Strings? Because for the MAMText files it is working via the getString method of the com.sap.ip.me.api.services.MEResourceBundle class.
    I hope someone knows more about this conversion.
    Thanks in advance! Kind regards,
    Bart Elshout

    hi bart,
    it would be nice if you could feedback me with the error problems.
    i know the code might not cater to all of the requirements, you might need to add
    other escaped characters if you need to in the switch scope. i forgot to tell you
    that to use the a2n function you should provide it with the string in its ISO format.
    try running on the MyTest program below with the argument as follows:
    MyTest "u6A5Fu80FD u5834 u6240u4E00u89A7"
    public class MyTest {
      public  static void main(String[] args){
        System.out.println(a2n(args[0]));
    if you use it like this way, it will not work, since the String class will detect this
    and automatically create the native representation of the characters. there's no
    need for the a2n function.
      String s = "u6A5Fu80FD u5834 u6240u4E00u89A7";
      System.out.println(a2n(s));
    if you are reading text from an ascii file, you need to specify that the input stream
    should be  ISO-8859-1 i.e.something like
    new InputStreamReader(inStream, "ISO-8859-1")
    hope this helps.
    jo

  • Japanese chars junk....

    dear support....
    i developing the struts application with language option.. like english and japan....
    In JSP file the japanese chars and the english chars showing correctly.... In java file if i hard codely assign some variable and print in a sysout it is printed correctly in tha console...when retrive from the form object the japanese characters get junk...
    1)i am setting the content type as utf - 8 in jsp
    where i can look for the particular error....
    thanks...

    sorry... am not insulting the japanese language... just am say my problem regarding junk....what is my problem is"In JSP, The labels are displayed correctly in the japanese characters. suppose i am enter the japanese characters in the input fields and get it in the action class it is as a junk characters"... how can i overcome this... what are all the changes am going to made the application to support japanese characters....
    thanks,
    karthik

  • Storing and query japanese chars

    I am storing japanese characters in a nvarchar2 column and the NLS_CHARACTERSET is UTF8. How do I insert japanese chars thru sqlplus and then query the same to confirm that they are getting stored ?

    If you have access to GUI tools like iSQL*Plus or SQL Developer, try those instead of character based SQL*Plus. The GUI tools can display UTF-8 characters using proportional fonts, which support a wider number of UTF-8 characters than monospace fonts. They also allow you to enter Japanese characters in your INSERT statements simply by using your keyboard or clipboard.

  • Unicode - Japanese Char problems on EN logon

    Hi Everyone,
    We recently upgraded our system, from a non-unicode to a unicode system.  Whenever i view a SAPscript report using english logon that contains both japanese & english characters in one field, the print preview is ok, displaying correct data in both languages. The problem arises when i try to print the report. All japanese characters are garbled, while all english characters are still ok.
    I tried logging in using japanese language, and printed a japanese report that uses both characters, and everything was ok, in both print preview & hardcopy printout.
    BTW, we're using version 640 for our SAP GUI, with patch level 19.
    Hoping for your inputs. Thanks in advance!

    Hi,
    If your system is unicode enabled, you should use true type fonts in the paragraph format to display the multi language characters. In the japanese language form did you use any special type of font types you use? Normally all the special font types will support english and not all the english fonts will support the local language characters.
    Since the output is printing fine with the Janpanese language there should not be any problem with the printer drivers, otherwise we need to check the drivers also.
    Hope this helps you

  • ERP 2005 / Unicode / Japanese char's in download file.

    Hi,
    We login with language = JA and executes transac. ME2L. The output appears on the screen and now we want save a local file *.txt.
    However, since this is output with Japanese characters, the vertikal graphic characters that generates the frame for the downloaded content looks odd.
    The vertikal lines are broken and not straight anymore.
    This is the right side of the page and frame. Because of the Japanese user, these downloads look bad.
    Any suggestion ?
    Thanks.
    Message was edited by:
            Peter C. Sandgaard

    Handed over to SAP support and note created

  • Problem Displaying Japanese chars in MIDlet

    Hi,
    I want to internationalize my MIDlet application.
    For that I am using ResourceBundle ,it works fine with J2ME kit.I know it works fine because Jdk1.3 supports displaying unicode characters.I think KVM doesn't support unicode characters.If anybody knows something then please reply immediately.
    Regards
    Vivek

    [vivek_kurundkar],
    Currently MIDP v1.0 only states that the ISO Latin 1 character encoding must be supported by all MIDP implementation i.e. mandatory to support the ISO Latin 1 char encoding but not all other locales.
    The locale is defined in the microedtion.locale system proprety and localization must be provided by the implementation i.e. for example the device manufacturer who provides the kVM for their device.
    In your case, you have a need for the Japanese locale and thus the emulator/kVM of the device must provide the Japanese locale.
    Which kVM emulator/device are you testing your CLDC/MIDP application with?
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

Maybe you are looking for