BI Publisher (MOSC)

MOSC Banner

Arabic text not displaying properly

edited Sep 9, 2019 10:14AM in BI Publisher (MOSC) 7 commentsAnswered ✓

I am using XSL-Fo template for generating PDF using java api (like below).

Arabic text not displaying properly like "??? ???????? ???????"

Java code

    FOProcessor processor = new FOProcessor();

    processor.setData("d:\\105603006926_B1-49053855.xml");     // set XML input file

    processor.setTemplate("d:\\UsageSummary.fo"); // set XSL input file

    processor.setOutput("d:\\UsageSummary.pdf");  //set output file

    processor.setOutputFormat(FOProcessor.FORMAT_PDF);

    processor.generate();

XSL

<fo:inline font-family="Arial" font-size="10pt" font-weight="bold"  color="#58595b;">المبالغ المستحقة على </fo:inline>   

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center