How to read the Chinese characters set?

Hello, everyone,
I have a serial problem about using JavaMail.
When i read the mail which contain Chinese characters set ( e.g. Big5 ). It will display a unreadable coding.
Example: " =?big5?B?aGl5YXRvbw==?= "
How to solve it? Please give me a solution if you know that. I am looking forward to receiving you reply.
hiyatoo,

As I know, you can use this:
msg.setContent(messageText.toString()), "text/html;charset=Big5");
It works well at my JavaMail API. By the way, your computer msut support Chinese characters.
Hope this can help.

Similar Messages

  • Who knows how to read the Chinese Characters from JDBC?

    I wrote two files. One is a jsp file, the other is java file. But in the jsp file it cannot print the Chinese characters, only can print the English characters. I have changed the Character Coding of the browser, but it has no effects. However, the java file works much fine. It can print the both English and Chinese characters.
    This is a part of my codes.
    String query="SELECT * FROM MyDB.dbo.BookList WHERE bookname like \'Java%\'";
    ResultSet rs=sm.executeQuery(query);
    rs.next();
    out.println(rs.getString(1));
    MyDB is a database in the SQL server.

    Hi,
    Did you try setting the contentType/charset of the JSP page? The default is latin, I think.
    <%@ page ... contentType="text/html; charset=character_set" ... %>
    Maybe this helps? At least it could give you a start of where to look...
    Best,
    Guy
    http://www.atomikos.com - JTA transactions

  • How can I change the Chinese characters back to English appear on the bottom icons after clicking the App Store icon on the iPad?  It was in English before I upgrade to iOS5.

    How can I change the Chinese characters back to English appear on the bottom icons after clicking the App Store icon on the iPad?  It was in English before I upgrade to iOS5.

    Is the address on your account based in France ? The language of the stores should reflect the language of the country where your account is based, which isn't necessarily the same language as you've set on the device.
    If your account isn't based in a French spealing country, then try logging out of the account (via Settings > Store) and then log back in (and also make sure that your address is correct and complete), and see if the language of the iTunes and App Store the reflect the language of the country where your account is based.

  • How can I write the chinese characters in a web with my magic mouse?

    How can I write the chinese characters in the search box with my magic mouse?

    You can do it with a trackpad but I am not sure about the mouse.  Take a look at his link, http://support.apple.com/kb/HT4288

  • MS Notepad unable to display the Chinese characters I type and display them as squares

    MS Notepad is unable to display the Chinese characters I type and display them as squares. But when I copy those squares on notepad to Wordpad or MS Word, they display the Chinese characters just fine. I've no idea why those Chinese characters I type can't display properly on notepad. I check the font of the notepad and it's the default. I've another Windows Vista desktop computer which has notepad of the similar setting and display Chinese characters just fine. Both are using Chinese (Simplified) - Microsoft Pinyin New Experience Input Style to input those characters. But I don't understand why my Windows 7 is facing this problem.

    Hi,
    Notepad is a very simple text editor BUT it will work if you use the SAME language in Windows. Please try:
    1. go to control panel, click "Clock, Language, and Region"
    2. click "Change location" under the "Region" section
    3. go to the "administrative" tab, then click "change system locale...", then select "Chinese".
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to read the content of a text file (by character)?

    Guys,
    Good day!
    I'm back just need again your help. Is there anyone knows how to read the content of a text file not by line but by character.
    Please help me. Thank you so much in advance.
    Jojo

    http://java.sun.com/javase/6/docs/api/index.html
    package java.io
    InputStream.read(): int
    Reads the next byte of data from the input stream.
    Implementation:
    InputStreamReader
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset. The charset that it uses may be specified by name or may be given explicitly, or the platform's default charset may be accepted.

  • 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.

  • How to read the selected row value of a table node

    hi
    i have a node of table type, displaying few records & with each record a  NEXT button is there.
    now i want to read the values of the selected row of the table & want to process next with NEXT button.
    pls tell me how to read the values of the selected row only.
    reds.

    data : lo_nd type ref to if_wd_context_node,
      lo_nd1 type ref to if_wd_context_node,
      lt_temp type wdr_context_element_set,
      wa_temp type ref to if_wd_context_element,
      ls_node1 type sflight,
      lt_node1 type STANDARD TABLE OF sflight.
    lo_nd = wd_context->get_child_node('CN_MAIN').
      CALL METHOD lo_nd->get_selected_elements
       RECEIVING
           set = lt_temp.
      loop at lt_temp INTO wa_temp.
          CALL METHOD wa_temp->get_static_attributes
          IMPORTING
            static_attributes = ls_node1.
        APPEND ls_node1 TO lt_node1.
        CLEAR ls_node1.
      ENDLOOP.
    'CN_MAIN' is the node whose selected values are to be picked and stored in internal table lt_node1.
    Other option by Thomas :
    DATA lo_nd_cn_main TYPE REF TO if_wd_context_node.
      DATA lt_temp TYPE wdr_context_element_set.
      FIELD-SYMBOLS <wa_temp> LIKE LINE OF lt_temp.
      DATA lt_node1 TYPE wd_this->elements_cn_main.
      FIELD-SYMBOLS <ls_node1> LIKE LINE OF lt_node1.
      lo_nd_cn_main = wd_context->get_child_node( name = wd_this->wdctx_cn_main ).
      lt_temp = lo_nd_cn_main->get_selected_elements( ).
      LOOP AT lt_temp ASSIGNING <wa_temp>.
        APPEND INITIAL LINE TO lt_node1 ASSIGNING <ls_node1>.
        <wa_temp>->get_static_attributes( IMPORTING STATIC_ATTRIBUTES = <ls_node1> ).
      ENDLOOP.

  • How to  remove the Special characters like @,#,$ ,..from field

    How to  remove the Special characters like @,#,$<,..from text  field. we nedd to remove any specila char from text field .
    ex:text  = just#fi%cation@text
    the text should be justification.

    hi check this ..
    data:char(25) value '5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with 'and' .
           replace all occurrences of '&' in char with 'num' .
         write: char.
    or use this..
    data:char(25) value 'test@ing*5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with space .
           replace all occurrences of '&' in char with space .
           replace all occurrences of '@' in char with space .
           replace all occurrences of '*' in char with space .
         write: char.
    regards,
    venkat.

  • How to Identify the Same Characters in 2 Different Strings

    Hi All,
    I am requiring a suggestion on how to identify the same characters in 2 different Strings, for example:
    String str1 = "hello";
    String str2 = "llheo";
    Both Strings contain the same characters, but in a different order, so what would be the best technique to verify t that both Strings indeed contain the same characters?
    I was personally thinking along the lines of using the class, java.util.regex.Pattern?
    Any thoughts would me much appreciated. Thanks

    I would instead sort the characters, and then compare
    the sorted data.
    I'm fealing generous
        private static boolean anagram(String left, String right)
            if (left.length() != right.length())
                return false;
            char[] leftChars = left.toCharArray();
            char[] rightChars = right.toCharArray();
            Arrays.sort(leftChars);
            Arrays.sort(rightChars);
            return Arrays.equals(leftChars, rightChars);
        }

  • One of my kids changed my password, and now i can't access my mail accounts. Any ideas on how to override the password and set up a new one?

    one of my kids changed my password, and now i can't access my mail accounts. Any ideas on how to override the password and set up a new one?

    A mail account password or you login password?
    Which OS by the way?

  • How to Modify the standard layout set for Sales Order

    Hi all,
    Do we have any sap defined standard to modify the sales order,if no How to Modify the standard layout set for Sales Order,an also plz send me the step by step procedure for the same.
    Thanks in advance
    Santosh R

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • How to read the records from VO

    hi
    How to read the records from VO and after reading the records the selected records has to be save to DB thru other VO
    help me out

    hi,
    its a custom one i am creating
    Select C.Name, A.Primary_Flag, , B.Comments, B.ATTRIBUTE_CATEGORY, B.ATTRIBUTE1, B.ATTRIBUTE2
    FROM XXVOC_CSD_PRIME_DIAG_CODES_B A, XXVOC_CSD_PRIME_DIAG_CODES_TL B, CSD_DIAGNOSTIC_CODES_TL C, CSD_RO_DIAGNOSTIC_CODES D
    Where A. RO_DIAGNOSTIC_CODE_ID = D. RO_DIAGNOSTIC_CODE_ID
    AND A. RO_DIAGNOSTIC_CODE_ID = B. RO_DIAGNOSTIC_CODE_ID
    AND C.DIAGNOSTIC_CODE = D.DIAGNOSTIC_CODE
    AND A.REPAIR_LINE_ID = :1
    UNION
    SELECT C.NAME, ‘’, ‘’, ‘’,’’,’’
    FROM CSD_DIAGNOSTIC_CODES_TL C, CSD_RO_DIAGNOSTIC_CODES D
    WHERE C.DIAGNOSTIC_CODE = D.DIAGNOSTIC_CODE
    AND D.REPAIR_LINE_ID = :1
    from above query i have to select attributes and set it in the EO based VO
    Edited by: Naveenapps on Feb 22, 2009 10:36 PM

  • How easy is the iphone to set up if bought online?

    how easy is the iphone to set up if bought online

    If you purchase an officially unlocked iPhone it won't come with a sim. When you get the phone contact your carrier or go to one of their stores & get a new sim. They will transfer your number & activate the sim. If you purchase a phone locked to your carrier, it will come with a sim installed & pre-activated. All you have to do is setup the phone to complete activation.

  • How to change the standard layout sets in ALV List

    Hi Gurus,
    How to change the standard layout sets in ALV list.
    Is there any standard program ? or specific way to acheive this?
    Kindly drop some clues?Every valuable clues rewarded more points........
    Thanks in Advance,
    Dharani

    Hello Dharani
    All required function modules can be found in function group SLVC (assuming that you are using OO-based ALV or, at least, fm REUSE_ALV_GRID_DISPLAY_LVC):
    LVC_VARIANT_DEFAULT_GET (Read default display variant (description only, w/o field catalog))
    LVC_VARIANT_EXISTENCE_CHECK
    LVC_VARIANT_F4 (Display variant selection dialog box)
    LVC_VARIANT_SELECT (Read a display variant)
    For a sample report using LVC_VARIANT_DEFAULT_GET have a look at BCALV_GRID_10.
    Regards,
      Uwe

Maybe you are looking for

  • Printing looks like the ink is running out at the bottom of the page

    My HP Deskjet D4260 just developed a new problem.  The printing on the bottom half of the page looks like the ink is running out, but cartridge is nearly full and the "low toner" light is not on.   It looks like the printer gets lazy half way through

  • Number of registers in the document number

    Hi people! Could you tell me if there some standard transaction that give us the number of register that there are in the document number. Based on some documents, we need to know the quantity of the registers in the document, document by document. T

  • Invoice ref. field

    Hi Gurus, Good day! I would like to ask if itu2019s possible to mass change the invoice reference on all customer accounts with 11 as posting key. Currently, all CM were already overdue thatu2019s why we have to change the accounting document and inp

  • Adding SubTotal for each row groups

    I'm trying to put together a query, that gets some values from diferent tables. Also I need to do some calculation and insert in that same query. I need to generate something like in this image: I tryied to use 'union', but the second select is gener

  • Does anyone know what " can't mount ipod" means????

    Hi I posted yesterday with a problem. I fixed that and downloaded the ipod software. I was trying to run the updater with the ipod shuffle plugged into the computer, and now it is saying it can't mount ipod. I also registerd the ipod, but that info d