Displaying non-English text without ID

Hi,
My situation is as follows:
Both R/3 and BW (NW7.0) are unicode. In a report, I need to "drill across" City which comes from customer master.
I have thought of using "Navigation Attributes" but my concern is performance.
Now, I have created one more InfoObject in InfoCube and do a lookup (from 0CUSTOMER InfoObject) while doing transformation. The City text (which is in Chinese) is loaded into InfoCube and I can see them properly when I do a "manage InfoCube content". However, when I create a query (in BEx), the text are all gone and only display "#####" instead.
Does anyone know why it happens?
I am using Win XP English version. Does anyone know if the problem would still exist if I used WinXP Chinese version?
Thanks.
JK

Hi JK,
            Its no where related to BI.Its all problem with Excel.So install the software which support the chinese text.
Regards
Karthik
Thanks for whatever points you assign to me

Similar Messages

  • JEditorPane problem displaying non-English text in 1.4

    hai
    I am trying to display a non English text in JEdiorPane . This is working fine with 13 but not with 1.4. (In 1.4 the non-English text is being rendered in english font).
    I am giving the HTML file and the java code that displays the html file below
    somebody pl help
    HTML file:
    <HTML>
    <HEAD>
    <STYLE>
    font.English0 {font-family:Courier,TimesNewRoman,helvetica,VERDANA,sansserif; font-style:normal;font-size:14pt;}
    font.telugu1 { font-family: Tl_tthemalatha;font-style: normal;font-size: 12pt; }
    font.English1 { font-family: Courier;font-style: normal;font-size: 22pt; }
    </STYLE>
    </HEAD>
    <BODY>
    <font class=telugu1> the non english text </font>
    </BODY>
    </HTML>
    the java code is.............
    class outpane extends JFrame
         JEditorPane jep;
         Syllable sl;
         public static void main(String[] args)
              new outpane(args[0]);
         outpane(String str)
              jep = new JEditorPane();
              jep.setEditable(false);
              jep.setContentType("text/html");
              JScrollPane js = new JScrollPane(jep);
              this.getContentPane().add(js);
              setSize(400,500);
              setVisible(true);
              setText(str);
         void setText(String str)
                   try{
                   BufferedReader br1;
                   FileInputStream fr1;
                   fr1=new FileInputStream(str);
                   br1=new BufferedReader(new InputStreamReader(fr1,"ISO8859-1"));
                        String s = new String();
                        String s1 = new String();
                        int j = 0;
                        while((s = br1.readLine()) != null)
                        s += "\n";
                        // Some mappings...
                        jep.setText(s1);
                        fr1.close();
                   }catch(Exception e){System.out.println("Exp");}
    To menction again this works fine in 1.3. In 1.4 the font is not beibg recognised
    Thanks in Anticipation

    I forgot to mention this happens only in Linux

  • Display Non-English Text in JEditorPane in Linux

    I want to display chinese in JEditorPane under Linux OS.
    However, i just found that they all display as a square box.
    I have tried to use both big5, and unicode(utf8), but it doesn't seem work.
    Do anyone know how to solve it ? Any method that can make them display ??
    Thank You!!

    Hi,
    just a guess, i think u can use setContentType to set the MIME type
    Ashish

  • Non-english text cannot be displayed correctly

    I'm trying to create a report file in pdf format, but display of non-English text isn't correct, (utf-8 encoding)
    Ð<92>ойна в Южной Ð<9e>Ñ<81>еÑ<82>ии
    BT
    /F1 1 Tf
    14 0 0 14 50.00 631.00 Tm
    0.00 0.00 0.00 rg
    (Ð<92>ойна в Южной Ð<9e>Ñ<81>еÑ<82>ии
    ) Tj
    ET

    Thanks for the reply, I created the pdf file by my own library, it works for english, french and other iso-8859-1 languages, but not for others like russian (iso-8859-5) and must the fonts be embedded?
    below is the file I created,
    %PDF-1.2
    1 0 obj
    <<
    /CreationDate (D:20120423025455)
    /Producer (N/A)
    >>
    endobj
    6 0 obj
    <<
      /Font << /F1 7 0 R  /F2 9 0 R >>
      /ProcSet [ /PDF /Text /ImageC /ImageI]
    >>
    endobj
    7 0 obj
    <<
    /Type /Font
    /Subtype /TrueType
    /Name /F1
    /BaseFont /Verdana
    /Encoding /WinAnsiEncoding
    /FirstChar 0
    /LastChar 69
    /FontDescriptor 8 0 R
    /Widths[1000 701 496 606 351 637 534 644 595 620 640 591 696 637 570 838
    594 599 887 623 600 797 591 683 621 685 614 605 524 794 591 640
    566 363 685 745 363 761 875 615 454 751 644 644 692 635 454 632
    394 623 454 818 632 600 591 606 274 595 426 632 351 972 520 545
    818 635 787 393 471 840 ]>>
    endobj
    8 0 obj
    <<
    /Type /FontDescriptor
    /FontName /Verdana
    /Flags 4
    /FontBBox [-49 -206 1445 1000]
    /MissingWidth 1000
    /StemV 96
    /StemH 96
    /ItalicAngle 0
    /CapHeight 1000
    /XHeight 700
    /Ascent 1000
    /Descent -211
    /Leading 211
    /MaxWidth 1526
    /AvgWidth 526>>
    endobj
    9 0 obj
    <<
    /Type /Font
    /Subtype /TrueType
    /Name /F2
    /BaseFont /Verdana-Bold
    /Encoding /WinAnsiEncoding
    /FirstChar 0
    /LastChar 27
    /Widths[1000 761 686 720 719 667 341 677 1195 999 850 598 664 535 720 402
    710 710 965 531 699 776 670 691 681 757 696 684 ]
    /FontDescriptor 10 0 R>>
    endobj
    10 0 obj
    <<
    /Type /FontDescriptor
    /FontName /Verdana-Bold
    /Flags 4
    /FontBBox [-73 -207 1706 1000]
    /MissingWidth 1000
    /StemV 186
    /StemH 186
    /ItalicAngle 0
    /CapHeight 1000
    /XHeight 700
    /Ascent 1000
    /Descent -167
    /Leading 167
    /MaxWidth 1750
    /AvgWidth 583>>
    endobj
    11 0 obj
    <<
    /Type /Page
    /Parent 3 0 R
    /Resources 14 0 R
    /Contents 12 0 R
    >>
    endobj
    12 0 obj
    <<
    /Length 13 0 R
    >>
    stream
    q
    611 0 0 791 0.00 0.00 cm
    /Im1 Do
    Q
    BT
    /F1 1 Tf
    23 0 0 23 150.00 600.00 Tm
    0.00 0.00 0.00 rg
    (PDF Report
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 150.00 565.50 Tm
    0.54 0.65 0.62 rg
    ) Tj
    ET
    0.54 0.65 0.62 rg
    148 546 464 23 re
    f
    BT
    /F2 1 Tf
    16 0 0 16 150.00 550.50 Tm
    1.00 1.00 1.00 rg
    (asdf
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 150.00 476.50 Tm
    0.54 0.65 0.62 rg
    (Generated on: Mon Apr 23 02:54:55 2012
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 150.00 461.50 Tm
    0.54 0.65 0.62 rg
    (Generated by:
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 150.00 446.50 Tm
    0.54 0.65 0.62 rg
    (File Name:
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 150.00 431.50 Tm
    0.54 0.65 0.62 rg
    (Time: 2012-04-16 00:00
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 150.00 416.50 Tm
    0.54 0.65 0.62 rg
    (Devices: 0 (See Appendix A)
    ) Tj
    ET
    endstream
    endobj
    13 0 obj
    838
    endobj
    14 0 obj
    <<
      /Font << /F1 7 0 R /F2 9 0 R >>
      /ProcSet [ /PDF /Text /ImageC /ImageI]
      /XObject << /Im1 15 0 R
    >>
    >>
    endobj
    15 0 obj
    <<
    /Subtype /Image
    /BitsPerComponent 8
    /Filter [/FlateDecode]
    /Height 1650
    /Width 1276
    /DecodeParms [<</Predictor 15 /Colors 3 /Columns 1276>>]
    /ColorSpace /DeviceRGB
    /Length 43454
    >>
    stream
    endstream
    endobj
    16 0 obj
    <<
    /Type /Page
    /Parent 3 0 R
    /Resources 19 0 R
    /Contents 17 0 R
    >>
    endobj
    17 0 obj
    <<
    /Length 18 0 R
    >>
    stream
    50.00 757.00 m
    0.20 w
    0.54 0.65 0.62 rg
    562.00 757.00 l
    f
    S
    0.00 0.00 0.00 rg
    q
    601 0 0 24 0.00 736.00 cm
    /Im2 Do
    Q
    BT
    /F1 1 Tf
    16 0 0 16 50.00 742.00 Tm
    1.00 1.00 1.00 rg
    (Table of Contents
    ) Tj
    ET
    BT
    /F1 1 Tf
    12 0 0 12 50.00 706.00 Tm
    0.00 0.00 0.00 rg
    ) Tj
    ET
    0.87 0.92 0.91 rg
    68 677 500 14 re
    f
    BT
    /F1 1 Tf
    12 0 0 12 70.00 679.00 Tm
    0.00 0.00 0.00 rg
    (Introduction) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 547.00 679.00 Tm
    (2                                       ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 70.00 679.00 Tm
    0.00 0.00 0.00 rg
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 656.50 Tm
    0.00 0.00 0.00 rg
    (²ÞÙÝÐ Ò ÎÖÝÞÙ ŸáÕâØØ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 547.00 656.50 Tm
    (2                                       ) Tj
    ET
    BT
    /F1 1 Tf
    12 0 0 12 80.00 656.50 Tm
    0.00 0.00 0.00 rg
    ) Tj
    ET
    0.87 0.92 0.91 rg
    68 627 500 14 re
    f
    BT
    /F1 1 Tf
    12 0 0 12 70.00 629.50 Tm
    0.00 0.00 0.00 rg
    (Appendix A) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 547.00 629.50 Tm
    (3                                       ) Tj
    ET
    50.00 45.00 m
    0.20 w
    0.54 0.65 0.62 rg
    562.00 45.00 l
    f
    S
    BT
    /F1 1 Tf
    10 0 0 10 50.00 30.00 Tm
    0.54 0.65 0.62 rg
    (© 2012 N/A) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 492.00 30.00 Tm
    0.54 0.65 0.62 rg
    [(Page 1 )(of 3                         )] TJ
    ET
    endstream
    endobj
    18 0 obj
    1219
    endobj
    19 0 obj
    <<
      /Font << /F1 7 0 R /F2 9 0 R >>
      /ProcSet [ /PDF /Text /ImageC /ImageI]
      /XObject << /Im2 20 0 R
    >>
    >>
    endobj
    20 0 obj
    <<
    /Subtype /Image
    /BitsPerComponent 8
    /Filter [/FlateDecode]
    /Height 53
    /Width 1275
    /DecodeParms [<</Predictor 15 /Colors 3 /Columns 1275>>]
    /ColorSpace /DeviceRGB
    /Length 1896
    >>
    stream
    endstream
    endobj
    21 0 obj
    <<
    /Type /Page
    /Parent 3 0 R
    /Resources 24 0 R
    /Contents 22 0 R
    >>
    endobj
    22 0 obj
    <<
    /Length 23 0 R
    >>
    stream
    50.00 757.00 m
    0.20 w
    0.54 0.65 0.62 rg
    562.00 757.00 l
    f
    S
    0.00 0.00 0.00 rg
    BT
    /F2 1 Tf
    16 0 0 16 50.00 742.00 Tm
    0.00 0.00 0.00 rg
    ) Tj
    ET
    q
    601 0 0 24 0.00 712.00 cm
    /Im3 Do
    Q
    BT
    /F1 1 Tf
    16 0 0 16 50.00 718.00 Tm
    1.00 1.00 1.00 rg
    (Introduction
    ) Tj
    ET
    BT
    /F2 1 Tf
    14 0 0 14 50.00 694.00 Tm
    0.00 0.00 0.00 rg
    ) Tj
    ET
    BT
    /F1 1 Tf
    14 0 0 14 50.00 673.00 Tm
    0.00 0.00 0.00 rg
    (²ÞÙÝÐ Ò ÎÖÝÞÙ ŸáÕâØØ
    ) Tj
    ET
    BT
    /F2 1 Tf
    10 0 0 10 50.00 652.00 Tm
    0.00 0.00 0.00 rg
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 637.00 Tm
    0.00 0.00 0.00 rg
    (    ÐтПт пПст целОкПЌ О пПлМПстью пПсвящеМ репПрт) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 622.00 Tm
    0.00 0.00 0.00 rg
    (    ажу АркаЎОя БабчеМкП Оз зПМы бПевых ЎействОй в) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 607.00 Tm
    0.00 0.00 0.00 rg
    (     ГрузОО. АркаЎОй Оз ВлаЎОкавказа ЎПбрался ЎП Дж) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 592.00 Tm
    0.00 0.00 0.00 rg
    (    авы, затеЌ ЎП ЊхОМвалО, участвПвал в штурЌе ЗеЌÐ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 577.00 Tm
    0.00 0.00 0.00 rg
    (    Ÿ-НОкПзО, прПслеЎПвал с батальПМПЌ «ВПстПк» в ÐœÐ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 562.00 Tm
    0.00 0.00 0.00 rg
    (    °Ð¿Ñ€Ð°Ð²Ð»ÐµÐœÐžÐž ГПрО О уже Ма путО туЎа верМулся Ма Ð) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 80.00 547.00 Tm
    0.00 0.00 0.00 rg
    (    ²ÐµÑ€Ñ‚Плете с раМеМыЌО.
    ) Tj
    ET
    50.00 45.00 m
    0.20 w
    0.54 0.65 0.62 rg
    562.00 45.00 l
    f
    S
    BT
    /F1 1 Tf
    10 0 0 10 50.00 30.00 Tm
    0.54 0.65 0.62 rg
    (© 2012 N/A) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 492.00 30.00 Tm
    0.54 0.65 0.62 rg
    [(Page 2 )(of 3                         )] TJ
    ET
    endstream
    endobj
    23 0 obj
    1742
    endobj
    24 0 obj
    <<
      /Font << /F1 7 0 R /F2 9 0 R >>
      /ProcSet [ /PDF /Text /ImageC /ImageI]
      /XObject << /Im3 25 0 R
    >>
    >>
    endobj
    25 0 obj
    <<
    /Subtype /Image
    /BitsPerComponent 8
    /Filter [/FlateDecode]
    /Height 53
    /Width 1275
    /DecodeParms [<</Predictor 15 /Colors 3 /Columns 1275>>]
    /ColorSpace /DeviceRGB
    /Length 1896
    >>
    stream
    endstream
    endobj
    26 0 obj
    <<
    /Type /Page
    /Parent 3 0 R
    /Resources 29 0 R
    /Contents 27 0 R
    >>
    endobj
    27 0 obj
    <<
    /Length 28 0 R
    >>
    stream
    50.00 757.00 m
    0.20 w
    0.54 0.65 0.62 rg
    562.00 757.00 l
    f
    S
    0.00 0.00 0.00 rg
    BT
    /F2 1 Tf
    16 0 0 16 50.00 742.00 Tm
    0.00 0.00 0.00 rg
    ) Tj
    ET
    q
    601 0 0 24 0.00 712.00 cm
    /Im4 Do
    Q
    BT
    /F1 1 Tf
    16 0 0 16 50.00 718.00 Tm
    1.00 1.00 1.00 rg
    (Appendix A
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 50.00 694.00 Tm
    0.54 0.65 0.62 rg
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 50.00 679.00 Tm
    0.54 0.65 0.62 rg
    ) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 50.00 664.00 Tm
    0.54 0.65 0.62 rg
    (Targets:
    ) Tj
    ET
    50.00 45.00 m
    0.20 w
    0.54 0.65 0.62 rg
    562.00 45.00 l
    f
    S
    BT
    /F1 1 Tf
    10 0 0 10 50.00 30.00 Tm
    0.54 0.65 0.62 rg
    (© 2012 N/A) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 492.00 30.00 Tm
    0.54 0.65 0.62 rg
    [(Page 3 )(of 3                         )] TJ
    ET
    endstream
    endobj
    28 0 obj
    718
    endobj
    29 0 obj
    <<
      /Font << /F1 7 0 R /F2 9 0 R >>
      /ProcSet [ /PDF /Text /ImageC /ImageI]
      /XObject << /Im4 30 0 R
    >>
    >>
    endobj
    30 0 obj
    <<
    /Subtype /Image
    /BitsPerComponent 8
    /Filter [/FlateDecode]
    /Height 53
    /Width 1275
    /DecodeParms [<</Predictor 15 /Colors 3 /Columns 1275>>]
    /ColorSpace /DeviceRGB
    /Length 1896
    >>
    stream
    endstream
    endobj
    50.00 45.00 m
    0.20 w
    0.54 0.65 0.62 rg
    562.00 45.00 l
    f
    S
    BT
    /F1 1 Tf
    10 0 0 10 50.00 30.00 Tm
    0.54 0.65 0.62 rg
    (© 2012 N/A) Tj
    ET
    BT
    /F1 1 Tf
    10 0 0 10 492.00 30.00 Tm
    0.54 0.65 0.62 rg
    [(Page 3 )(of 3                         )] TJ
    ET
    endstream
    endobj
    31 0 obj
    3239
    endobj
    32 0 obj
    <<
      /Font << /F1 7 0 R /F2 9 0 R >>
      /ProcSet [ /PDF /Text /ImageC /ImageI]
      /XObject << >>
    >>
    endobj
    33 0 obj
    <<
    /Type /Outlines
    /Count 2
    /First 34 0 R
    /Last 36 0 R
    >>
    endobj
    34 0 obj
    <<
    /Parent 2 0 R
    /Dest [21 0 R /XYZ 50 752 0.000]
    /Title <feff0049006e00740072006f00640075006300740069006f006e>
    /Next 36 0 R
    /First 35 0 R
    /Last 35 0 R
    /Count -1
    >>
    endobj
    35 0 obj
    <<
    /Parent 34 0 R
    /Dest [21 0 R /XYZ 50 704 0.000]
    /Title <feff0412043e0439043d0430002004320020042e0436043d043e04390020041e0441 0435044204380438>
    >>
    endobj
    36 0 obj
    <<
    /Parent 2 0 R
    /Dest [26 0 R /XYZ 50 752 0.000]
    /Title <feff0041007000700065006e00640069007800200041>
    /Prev 34 0 R
    >>
    endobj
    2 0 obj
    <<
    /Type /Catalog
    /Pages 3 0 R
    /Outlines 33 0 R
    /PageMode /UseOutlines
    >>
    endobj
    3 0 obj
    <<
    /Type /Pages
    /Count 4
    /MediaBox [ 0 0 612 792 ]
    /Kids [ 11 0 R 16 0 R 21 0 R 26 0 R ]
    >>
    endobj
    xref
    0 37
    0000000000 65535 f
    0000000009 00000 n
    0000058067 00000 n
    0000058156 00000 n
    0000000000 00000 f
    0000000000 00000 f
    0000000115 00000 n
    0000000212 00000 n
    0000000658 00000 n
    0000000911 00000 n
    0000001196 00000 n
    0000001457 00000 n
    0000001540 00000 n
    0000002432 00000 n
    0000002452 00000 n
    0000002578 00000 n
    0000046250 00000 n
    0000046333 00000 n
    0000047606 00000 n
    0000047627 00000 n
    0000047753 00000 n
    0000049864 00000 n
    0000049947 00000 n
    0000051743 00000 n
    0000051764 00000 n
    0000051890 00000 n
    0000054001 00000 n
    0000054084 00000 n
    0000054856 00000 n
    0000054876 00000 n
    0000055002 00000 n
    0000057377 00000 n
    0000057398 00000 n
    0000057512 00000 n
    0000057586 00000 n
    0000057767 00000 n
    0000057931 00000 n
    trailer
    <<
    /Size 36
    /Root 2 0 R
    /Info 1 0 R
    >>
    startxref
    58263
    %%EOF

  • Linux or JVM: cannot display non english character

    hi,
    i am trying to implement a GUI that supports both turkish and english. user can switch between them on the fly.
    public class SampleGUI {
    JButton trTranslate = new JButton(); /* Button, to translate into turkish */
    /* Label text will be translated */
    JLabel label = new JLable("Text to Be Translated!");
    trTranslate.addActionListener (new ActionListener(){
    void ActionPerformed(ActionEvent e){
    String language="tr";
    String country="TR";
    Locale currentLocale;
    ResourceBundle messages;
    currentLocale = new Locale(language, country);
    messages = ResourceBundle.getBundle("TranslateMessages",currentLocale);
    /* get from properties file turkish match of "TextTranslate "*/
    label.setText(messages.getString("TextToTranslate"));
    Finally, my problem is my application does not display non english chracaters like "� &#351; � &#287; � i" in GUI after triggering translation.However, if i do not use ResourceBundle and instead assign directly the turkish match for that label (i.e. label.setText("&#351;&#351;&#351;&#351;&#351;")), GUI successfully displays turkish characters. what may be the problem? which encoding set does not conform?
    ps : i am using redhat linux8.0, j2sdk1.4.1. current locale = "tr_TR.UTF-8". in /etc/sysconfig/keyboard , keyTable = "trq". There seems no problem for me as i can input and output
    turkish characters. OS supports this. Also jvm gets the current encoding from OS.It seems as if there is a problem in reading properties file in inappropriate encoding.
    thanx for dedicating ur time and effort,
    hELin

    I would suspect it would work in vim only if vim supported the UTF8 character set. I have no idea if it does.
    Here is one blurb I found on google:
    USING UNICODE IN THE GUI
    The nice thing about Unicode is that other encodings can be converted to it
    and back without losing information. When you make Vim use Unicode
    internally, you will be able to edit files in any encoding.
    Unfortunately, the number of systems supporting Unicode is still limited.
    Thus it's unlikely that your language uses it. You need to tell Vim you want
    to use Unicode, and how to handle interfacing with the rest of the system.
    Let's start with the GUI version of Vim, which is able to display Unicode
    characters. This should work:
         :set encoding=utf-8
         :set guifont=-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
    The 'encoding' option tells Vim the encoding of the characters that you use.
    This applies to the text in buffers (files you are editing), registers, Vim
    script files, etc. You can regard 'encoding' as the setting for the internals
    of Vim.
    This example assumes you have this font on your system. The name in the
    example is for X-Windows. This font is in a package that is used to enhance
    xterm with Unicode support. If you don't have this font, you might find it
    here:
         http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz

  • Linux or Java? :Cannot display non english characters

    hi,
    i am trying to implement a GUI that supports both turkish and english. user can switch between them on the fly.
    public class SampleGUI {
    JButton trTranslate = new JButton(); /* Button, to translate into turkish */
    /* Label text will be translated */
    JLabel label = new JLable("Text to Be Translated!");
    trTranslate.addActionListener (new ActionListener(){
    void ActionPerformed(ActionEvent e){
    String language="tr";
    String country="TR";
    Locale currentLocale;
    ResourceBundle messages;
    currentLocale = new Locale(language, country);
    messages = ResourceBundle.getBundle("TranslateMessages",currentLocale);
    /* get from properties file turkish match of "TextTranslate "*/
    label.setText(messages.getString("TextToTranslate"));
    Finally, my problem is my application does not display non english chracaters like "� &#351; � &#287; � i" in GUI after triggering translation.However, if i do not use ResourceBundle and instead assign directly the turkish match for that label (i.e. label.setText("&#351;&#351;&#351;&#351;&#351;")), GUI successfully displays turkish characters. what may be the problem?
    ps : i am using redhat linux8.0, j2sdk1.4.1. current locale = "tr_TR.UTF-8". in /etc/sysconfig/keyboard , keyTable = "trq". There seems no problem for me as i can input and output
    turkish characters. OS supports this. Also jvm gets the current encoding from OS.It seems as if there is a problem in reading properties file in inappropriate encoding.
    thanx for dedicating ur time and effort,
    hELin

    CROSSPOST: http://forum.java.sun.com/thread.jsp?forum=31&thread=373338&tstart=0&trange=30

  • Non-English Text Printing

    Hi friends,
    I am using a variable to display a text in english as a simple list, it is coming fine. Also, when the same variable is used to display any non-english text like korean or japanees, it is coming fine in the output list. But, when I do the print preview using 'LP01' or other test printer, the korean or japanees text is printed to the left (the text is shifted to the left) as result the whole column is shifted to the left.
    Can anyone tell what could be the problem & it's possible solution.
    Regards,
    Praveen

    Hi,
    Plesae use the transactions
    SNL3 & SE63
    Regards,
    IFF

  • How do I remove non English text on my calendar

    There is non English text on my iPad and don't know how to remove it

    Settings>General>International>Language/Region Format

  • Messed up non-English text

    I have worked on i18n for several time in various positions. I mess up non English text first time. The followings are the process:
    1.Copy translated text from MS word file into a text editor
    2. Run the native2ascii -encoding UTF-8 file1.properties to file2.properties to convert the unicode.
    What may cause text encoding error in the above steps?
    Thanks very much for your inputs.

    Is there a connection between the two steps? I don't see one. First you put some data into a text editor, then you ignore it and start working with a file.

  • How to store Non English text in So10

    Hi All;
    How can we store non English text i.e. Chinese in SO10 along with English text.?
    Regards
    Dev

    Translate the texts you need in german and rest keep it as it is.
    In your code pass if SET LOCALE LANGUAGE = 'EN'.
    Read the text elements
    else.
    SET LOCALE LANGUAGE = 'DE'.

  • RTF to HTML conversion - Non-English Text

    Hello,
    I am trying to convert a RTF file to a HTML file. Below is the code that I am using. I am not able to convert non-english text properly (German, French, Swedish etc). I like to know the proper way of doing this and if there is a more efficient way of doing this conversion in general (It is taking around 1 minute for this to complete on a 300 MHz, 320 MB iBook). Thanks.
    Regards
    Sarat
    Code Begins
    public class FormatConverter {
    private DefaultStyledDocument tempRTFDoc;
    private HTMLEditorKit htmlKit;
    private RTFEditorKit rtfKit;
    public FormatConverter () {
    tempRTFDoc = new DefaultStyledDocument();
    htmlKit = new HTMLEditorKit();
    rtfKit = new RTFEditorKit();
    public String convert(String strText) {
    String strResult = "";
    StringReader reader = new StringReader(strText);
    try {
    tempRTFDoc.remove(0,tempRTFDoc.getLength());
    rtfKit.read(reader,tempRTFDoc,0);
    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    htmlKit.write(byteArrayOutputStream,tempRTFDoc,0,tempRTFDoc.getLength());
    strResult = byteArrayOutputStream.toString();
    catch(IOException ie){}
    catch(BadLocationException ble){}
    return strResult;
    public static void main(String args[]) {
    // Read the rtf file from disk
    FileInputStream in = null;
    try {
    in = new FileInputStream("sample.rtf");
    } catch (java.io.FileNotFoundException ioe) {
    System.out.println("sample.rtf file not found");
    byte []input = new byte[10000];
    try {
    in.read(input);
    } catch (java.io.IOException ioe) {
    System.out.println("Error reading from sample.rtf");
    // Do the conversion
    FormatConverter conv = new FormatConverter();
    String strHTML = conv.convert(new String(input));
    // Write the html file to disk
    FileWriter out = null;
    try {
    out = new FileWriter("output.html");
    } catch (java.io.IOException ioe) {
    System.out.println("Error creating file output.html");
    try {
    for (int i = 0; i < strHTML.length(); i++)
    out.write(strHTML.charAt(i));
    } catch (java.io.IOException ioe) {
    System.out.println("Error writing to file output.html");
    // Close the files
    try {
    if(in != null)
    in.close();
    if(out != null)
    out.close();
    } catch (java.io.IOException ioe) {
    System.out.println("Error closing files");
    System.out.println("Conversion done");
    System.exit(0);
    Code Ends

    hi,
    i'm also trying to do the same thing (convert rtf to html). i was wondering if your conversion handles tables and if so if you could post the code as i'm having trouble finding out info about rtf's.
    in terms of stripting out the body tags there are a number of different ways of doing this, here's one way>
    myBigHtmlString = your html doc loaded in to a string;
    String[] tagsToStripOutArray = {"<html>","</html>","<body>", "</body>", "etc", "etc"};
    int pos=0;
    for (int x=0; tagsToStripOutArray.length; x++) {
    pos = myBigHtmlString.indexOf(tagsToStripOutArray[x]);
    if (pos != -1){ // if tag exists in string strip it out
    myBigHtmlString = myBigHtmlString.substring(0,pos)+myBigHtmlString.substring(pos+(tagsToStripOutArray[x].length());
    }// end for
    i haven't compiled this so there maybe errors,
    cheers,
    ben

  • Display non-english characters in its own corresponding language in excel

    Hello Experts,
    I have description texts in chinese and other languages which is visible properly in the debugger in my internal table.
    After downloading the data into an excel sheet into my file path, when opened the non-english description is displayed as ####
    Please help me in displaying the non-english descriptions in the excel sheet in its own corresponding language.
    Note:  Function module used : GUI_DOWNLOAD
                 File type assigned       : 'ASC'
    Edited by: keerthi shanker on Mar 14, 2008 11:02 AM

    Hello Vasanth,
    Please explain about what did you mean by 'Last Button in SAP screen'
    Well, to re-iterate my problem, I have data retrieved from SAP database that has values of multi languages which is displaying properly in the internal table as checked in the debugger.
    After the execution of FM 'GUI_DOWNLOAD', when i open the file from my desktop, the non-english characters like the chinese and japanese are each character is displaying in HASH symbol.

  • Displaying non English file name in portlet

    Hi,
    I have a portlet that display all the files in a directory that is not on any of the Plumtree servers (portal, collaboration, etc ...). This directory could be a local directory or a directory on a network but not on any of the plumtree servers. How could I display a non English file in the portlet? I am using Plumtree portal 5.0.4J.
    Thank you so much in advance for the helps!

    Hi,
    I have a portlet that display all the files in a directory that is not on any of the Plumtree servers (portal, collaboration, etc ...). This directory could be a local directory or a directory on a network but not on any of the plumtree servers. How could I display a non English file in the portlet? I am using Plumtree portal 5.0.4J.
    Thank you so much in advance for the helps!

  • Display non-english contacts in zen mi

    i have no problem getting chinese songs to display correctly on my zen micro using v2 firmware and wmp0, but some of my outlook contacts have chinese names and addresses, they don't show up when sync'd. anybody got non-english contact information to display correctly on zen micro? do i have to mess around with region/language settings to make this work?

    Hello Vasanth,
    Please explain about what did you mean by 'Last Button in SAP screen'
    Well, to re-iterate my problem, I have data retrieved from SAP database that has values of multi languages which is displaying properly in the internal table as checked in the debugger.
    After the execution of FM 'GUI_DOWNLOAD', when i open the file from my desktop, the non-english characters like the chinese and japanese are each character is displaying in HASH symbol.

  • Problem when passing non English text to another amx page

    Hi,
    I'm using JDeveloper version 11.1.2.3.0 under windows 7, to deployed ADF Mobile application into android device,
    when i used the application to pass 3 input text value to another page (or object)
    i note that if passed the 3 text without any English character (means just Arabic,Urdo,Farsi ...)
    the next page will received only the last text and the others will be null
    that means the other texts Value Change Listener dose not work, they will work just in one case if i used English
    or any other special Character (Space bar, Back Space ...) in order to invoke that action
    Any help plz
    Note:- when i deploy it to iPhone device it is work fine
    Edited by: user2397713 on Jun 5, 2013 3:11 PM

    Hi,
    do you have a test case and instructions for me to try and run. Just create a simple page-to-page use case and send it in a ZIP file (renamed to ZIP) for me to test on 11.1.2.4 and file a bug if required. If you have a support contract, you can file a service request with support. My mail addres sis in my OTN profile, just click my name link.
    Frank

Maybe you are looking for

  • Windows 7 slow to boot after setting up windows backup to additional drive.

    I have an issue with windows taking forever to boot after setting up Windows backup. PC Setup: 2 Samsung SSD Mirrored for Hardware raid on (MOBO OS/Programs) 2 Seagate 4TB Mirrored for Hardware raid (Data storage) 1 Seagate 4tb HD used solely for Win

  • How can I take pictures of my screen?

    How can I take pictures of my screen and then save it? I need help. Thankyou.

  • Memory Problem Bridge CS4 under Win7

    Hi! I am running Bridge CS 4 on a brand new multimedia laptop (best ati graphic card, 4 gb ram, hundrets of gb free space) and one and the same bridge that ran well on my old xp laptop is starting to tremble of memory problems and pops up in German "

  • Can't find preferences tab :(

    I have just bought quicktime pro, and am trying to register it. I followed the instructions, but get stuck. When I go to the apple and press system preferences, then view, there is no quicktime option to press. I have been looking all voer but can't

  • Cluster: lookup throw ClassNotFoundException when MyObject was bind

    I have problem with lookup MyObject (whitch implements serializable) from InitialContext on cluster machine 1, when I bind it on machine 2. Lookup throw: binding java.lang.ClassNotFoundException: MyObject java.lang.Class com.evermind.naming.ContextCl