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

Similar Messages

  • 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

  • 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

  • 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

  • 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

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

  • 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

  • How to Identify non-english characters in a Text

    Hi Experts,
    I have a text coming from KNA1-NAME1 which contains non-english characters / language at times. I want to identify them in my code so that I can skip them.
    Can you please guide with some Command / FM that help to identify these non-english characters?
    Regards,
    Nirmal

    Hi,
    I am fine with english characters A-Z, a-z or 0-9 or special characters. But it contains some chinese, japanes or non-english language characters which I dont want.
    The logic explained by you above would expect me to list all the valid characters. Also it would be a performance constraint. Hence i wanted something as FM or standard procedure. Can we use ASCII somehow ?
    Regards,
    Nirmal

  • Underlining non-English texts

    Dear support team, as a non English user of your admirably super great application , unfortunately I do sometimes fall in some little icky troubles when i want to underline my text, so i get forced to use the pencil tool each time which burns a huge part of my time and energy out. thus I want to ask you respectfuly, to please add a simple straight line tool so that we can use it and come over these annoying  obstacles easily. Thanks for your kind monitoring and attention to all the feedbacks and critisisms. Mojtavbaa.V

    Hi,
    Adobe Reader allows users to underline text irrespective of the language, provided that the PDF is not a scanned image. Are you unable to do the same? Could you provide us with a sample file where you are observing the issue at [email protected] so that we may investigate the issue?
    Thanks,
    Adobe Reader Team

  • How to add non English characters

    I install weblogic 10.3.3.0, SOA Suite 11.1.1.2, and SOA Suite 11.1.1.3 on Windows 2008 (English version). The Location of Regional and language option is set to local place. I also add non-Unicode.
    I can add new holiday rules using non English characters in the BPM workspace. Then, I shutdown my computer as normal. However, after I restart my computer and weblogic domain as well as SOA Suite 11g. The non English characters become ??????
    How to configure Weblogic domain and SOA Suite to show non English characters?

    is both English and Korean letters are in the same column without any space gab or any separator, ? Pl re check

  • How to retrieve non-english characters from a query

    Hello,
    My apologies if this post is not in its proper place, but I was a bit confused where to add it.
    I'm running a query using SQL Developer on a table which contains several companies names from many different countries, and one of the checks I need to make to ensure data consistency is to search for all rows which the name of company contains special or non-english characters (like ç, ã, ä as example).
    I don't know what can I use to do this. I tried to collate using NLS_SORT but it didn't work.
    Is there someway to select only the rows that contain these special or non-english characters, excluding from the results the rows that only have english characters? Please have in mind that we have many languages in this table.
    The field I would like to make the conditions on is VARCHAR2.
    Please let me know if there is any extra information I should provide you so that you can help me.
    Thank you in advance for the help.
    Regards,
    Luís

    Hi Luis,
    My apologies if this post is not in its proper place, but I was a bit confused where to add it.This is the Forum for the SQL Developer Data Modeler product.
    I suggest you try using the SQL and PL/SQL Forum: PL/SQL
    David

  • How to select non-contiguous text

    In the previous version of pages, you could select non-contigous text. In the new versioin, you cannot.
    WHY???

    Feature removed.
    Peter

  • How to store something in text file?

    Hello
    I have question and i do not know how to do this.
    can any one explain for me how i can save something in a text file.
    i create calculator,and there is one question i need to do it:((Store the record of the session in a text file. ))
    what i need to write some codes and so on.
    please can u give idea ?

    Alena,
    Here's my static FileUtilz class, which includes a writeFile method, and several other handy methods.
    package krc.io;
    import java.util.Collection;
    import java.util.List;
    import java.util.ArrayList;
    import java.io.File;
    import java.io.FileReader;
    import java.io.BufferedReader;
    import java.io.FileWriter;
    import java.io.PrintWriter;
    import java.io.InputStream;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.FileNotFoundException;
    import java.util.Arrays;
    public abstract class FileUtilz
        public static final int bfrSize = 4096;
        public static void writeFile(String content, String filename)
        throws IOException
            PrintWriter out = null;
            try {
                out = new PrintWriter(new FileWriter(filename));
                out.write(content);
            } finally {
                //try {if(out!=null)out.close();}catch(Exception ignore){}
                out.close();
        public static String readFile(String filename)
        throws IOException, FileNotFoundException
            FileReader in = null;
            StringBuffer out = new StringBuffer();
            try {
                in = new FileReader(filename);
                char[] cbuf = new char[bfrSize];
                int n = in.read(cbuf, 0, bfrSize);
                while(n > 0) {
                    out.append(cbuf);
                    n = in.read(cbuf, 0, bfrSize);
            } finally {
                //try {if(in!=null)in.close();}catch(Exception ignore){}
                in.close();
            return out.toString();
        public  static String[] readFileIntoArray(String filename)
        throws IOException, FileNotFoundException
            return readFileIntoList(filename).toArray(new String[0]);
        public  static List<String> readFileIntoList(String filename)
        throws IOException, FileNotFoundException
            BufferedReader in = null;
            List<String> out = new ArrayList<String>();
            try {
                in = new BufferedReader(new FileReader(filename));
                String line = null;
                while ( (line = in.readLine()) != null ) {
                    out.add(line);
            } finally {
                try {if(in!=null)in.close();}catch(Exception e){}
            return out;
        public static byte[] readBytes(String filename)
        throws IOException, FileNotFoundException
          //start = System.currentTimeMillis();
          File file = new File(filename);
          byte[] out = new byte[(int)file.length()];
          InputStream in = new FileInputStream(file);
          int size = in.read(out);
          in.close();
          //System.out.println("readBytes("+filename+"="+size") took "+(System.currentTimeMillis()-start));
          return out;
        public static boolean isSameFile(String filenameA, String filenameB)
        throws IOException, FileNotFoundException
          File fileA = new File(filenameA);
          File fileB = new File(filenameB);
          //check for same physical file
          if( fileA.equals(fileB) ) return(true);
          //compare sizes
          if( fileA.length() != fileB.length() ) return(false);
          //compare contents (buffer by buffer)
          boolean same=true;
          InputStream inA = null;
          InputStream inB = null;
          try {
            inA = new FileInputStream(fileA);
            inB = new FileInputStream(fileB);
            byte[] bfrA = new byte[bfrSize];
            byte[] bfrB = new byte[bfrSize];
            int sizeA=0, sizeB=0;
            do {
              sizeA = inA.read(bfrA);
              sizeB = inA.read(bfrB);
              if ( sizeA != sizeB ) {
                same=false;
              } else if ( sizeA == 0 ) {
                //do nothing
              } else if ( !Arrays.equals(bfrA,bfrB) ) {
                same=false;
            } while (same && sizeA != -1);
          } finally {
            if(inA!=null)inA.close();
            if(inB!=null)inB.close();
          return(same);
        public static String basename(String path, boolean cutExtension)
            String fname = (new File(path)).getName();
            if (cutExtension) {
                int i = fname.lastIndexOf(".");
                if (i > 0) {
                    fname = fname.substring(0,i);
            return fname;
        public static String dirname(String path)
            return (new File(path)).getParent();
    }

  • Non-English text in Books?

    Hi there,
    Does anyone knonw if Apple accepts orders for books featuring text in other languages than English Or for the service provided in the States that's the only choice?
    Thanks!
    Alexey

    I doubt anyone (humans) reads any of the text so as long as it is available in the allowed fonts you can type whatever you like and stick it in there.
    You can also make jpg or tiff files in photoshop, add text to them , and use the files as if they were photos, so you can do stuff like take picture, add text over top of it, flatten it, save that as a picture and add it to the book. Pictures are pictures even if they are pictures of text, if you follow.

  • How To Earmark Non-English email as Junk?

    For some reason, for a long time I have been getting many spams every day that are in Portugese. I would like to create a rule in Mail to automatically move all email that is in Portugese (or in any language other than English) into my Junk folder. Is there a way to do this? Thanks very much in advance.

    Zina wrote:
    I would like to create a rule in Mail to automatically move all email that is in Portugese (or in any language other than English) into my Junk folder. Is there a way to do this?
    Strictly speaking, and to my knowledge, no.
    I don't think it is possible to create a rule in Mail based on language. It seems to me that you can go along two different paths. First, consider a rule not based on language, but on criteria available in Mail. Eg, move message to junk if sender is not in your address book.
    Alternatively, you can create a complex rule or set of rules to approximate what you want, by checking the message contents. For instance, you can combine a rule which checks if the message contains the character Ô (o-tilde), which is encountered in Portuguese and a couple of other languages, with one which checks if it doesn't contain the character W, which in Portuguese appears only in foreign words, but is fairly common in English. However, at best, this will be a very much hit-and-miss affair. You can also add rules which check for the content of the Accept-Language and Content-Language fields, or for charset, but none of these will work very well, because, for instance, utf8 can be used for many different languages.
    Maybe you should just start by examining the offending messages using View > Message > Raw Source. Perhaps you'll find a much simpler way to filter them out -- eg, perhaps they all come from the .br TLD.

Maybe you are looking for

  • A reasonable hardware configuration for Linux OAS

    Has anyone out there tried to run Oracle 8 for Linux and OAS 3.02 all on the same toasted PC/pentium server? Could you tell me the nature of your hardware configuration (processor speed, ram, etc) if you feel the performance is acceptable for develop

  • Problem with "extends"

    hi, first : i m sorry i m not good in english. i have problem with add-ing extenteds java-class files, i m trying write "extends" and name of class file :-) is ok, is running..... but when i wannt add 2files, is not running, i was try: extends name,n

  • Kill on Exit

    What I would like to see added in a future sprint of DPS is a check box preference to "kill" a DPS app when you exit it. Of course typical DPS reading, if you were to exit an issue you are reading and go back in you are on the same page as when you l

  • How can I generate tones with usb 6008 using analog out?... tia sal2

    Greetings All I've been looking at the example Sim Phone.vi that comes with labview and would like to generate similar tones out of our usb 6008 device. I can get a very faint sound out of our usb 6008 using the example Gen Multi Volt Updates-SW Time

  • Raw into Aperture, Jpeg into iPhoto

    If i shoot a combo of RAW and jpeg is it possible to divide the export, WAW going into aperture and Jpeg into iPhoto. I know i could pull them of the card manually, but i was wondering if i could make the programs do this when i put my card into the