Report displaying Arabic characters in output as junk characters
Hi
We have few Arabic reports which are giving output as junk characters. Below are version details
EBS Version : 11.5.10
Reports : Oracle 6i
Database : 10g
Any pointers how to resolve this issue
Thank You
Arjun
may be font is not available in client side
or
database is not configured unicode
thanks
mostafiz mitul
Dhaka Bangladesh
Similar Messages
-
Oracle Report ouput is coming in english and junk characters
Hi ,
I am facing an issue with oracle report output in R12.
The Report out is coming in english and junk characters.
this report is custom report.
Migrated from 11i to r12 instance.it is working fine in 11i with output as PDF.
Sample out put is attached.Pl see if MOS Doc 1321874.1 is relevant
-
Barcode related Template output Printing Junk characters in XML Publisher
Hi Gurus,
Could you please help me out..
I have a bar code related Template and registered to Concurrent Program(i.e. Report type as Executable) and i run the Program in PDF Output.
I am using free "3 of 9 font" for Bar code in my template
Problem Occurrence Procedure
1) When i submit the Concurrent Program and Click the View Output Button
2) the out put looks good with Bar code and Text in Table Format.
3) when i assign a printer, while Concurrent Program Submission then the printer prints output with Junks Characters and no data in it.
4) if i save the PDF Output file in Desktop and give print then it prints Good with barcode and text in Table Format.
The main problem is when printer is assigned to the Concurrent Program while submission of Request then the Printer output is printing Junk Characters but through View Output Button in Request Window we get Barcode Output Good with data in it
Could you please give me the Solution in Step by step Procedure
It would be grateful to me..
Thanks,
VijayHi Schavali,
Ours Database Server
RDBMS : 10.2.0.4.0
Oracle Applications : 11.5.10.2
OS:- IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
If you are using UTF8, direct PDF printing is not supported. Has the barcode font been installed ?
i am using free 3 of 9 bacode font..
Could you please give me the step by step procedure for printing the Output with barcode labels..
Thanks,
Viajy -
Report Pdf output getting Junk characters for some boiler Plate fields
Hi All
For Dunning Letter Report registered in Oracle Applications,made changes in Column headings like added customer number as Kunde for German Letter
but in pdf output it's appearing as junk characters even date field is happening like that. It's happening for German, Spanish, Italy and French Letters. Working ok for Netherlands, English.
any input to fix this solution will be great
Thanks
Kamalakar.GMaybe you check the NLS_LANGUAGE-settings on the client where you "edit" the reports-definition.
-
PO custom XML report output shows junk characters
Hi,
One of our PO custom XML report's output(pdf) shows junk characters. when these junk characters are copied to any text editor, it shows correct text characters.
Below are our environment details:
RDBMS: 10.2.0.
Oracle E-Business suite: 12.0.6
OS: Oracle Sun 10
This is a clone system and the issue started after cloning
Please suggest.
Thank you.Hi,
I would appreciate if any one has any suggestion on this issue.
Thank You,
Mohammed -
UTL File output shows junk characters
Hi,
I have a interface where i'am displaying the details in a text file using the UTL package.
The output is showing correctly but there are few junk characters at the end of the string like small boxes.
Can anybody advice as why this is happening and how to fix it.
Thanks in advance,Hi,
I would appreciate if any one has any suggestion on this issue.
Thank You,
Mohammed -
Oracle Reports 6i on Oracle EBS 11i Showing Junk Characters
Hello,
I have a very simple Oracle Reports 6i reports that needs to run in EBS. I have developed the report and it iis working like a charm when run within the Report 6i tools itself. But when this .rdf file is ported over Oracle EBS and when I run as concurrent request, I get junk characters in report data.
Please advise what am I missing. Below is the output from concurrent manager. You will see that there are junk values like (s7B07... everywhere.
Report Date: 15-JAN-2012 18:59
(s7B Ship Confirm Transmission Report(s0B
Report Date: 15-JAN-2012 18:59
(s7B Ship Confirmation Transmission Report(s0B Page: 1 of 1
(s7BTransmission Summar(s0B
(s7BSales Orders Picked in Oracle(s0B (s7BSales Order Lines Backordered(s0B (s7BTotal Sales Order Lines Shipped(s0B (s7BTotal Sales Order Lines in Erro(s0B
(s7B48(s0B (s7B2(s0B (s7B8(s0B (s7B0(s0B
(s7B48(s0B (s7B2(s0B (s7B8(s0B (s7B0(s0B
(s7B48(s0B (s7B2(s0B (s7B8(s0B (s7B0(s0BI have a very simple Oracle Reports 6i reports that needs to run in EBS. I have developed the report and it iis working like a charm when run within the Report 6i tools itself. But when this .rdf file is ported over Oracle EBS and when I run as concurrent request, I get junk characters in report data. What is the type of the report? Try to change it to PS (assuming you have bitmap reports enabled) and check the output then.
You cannot use dffferent font type/size in the text reports -- How To Change The Font, Size, or Page Layout of Standard and FSG Reports [ID 467568.1]
Thanks,
Hussein -
Arabic characters are not getting displayed in oracle pdf output
Hi,
I am trying to print arabic characters in report output but junk characters are getting displayed in output.
Using 10g report builder, added the arabic labels in report layout.
Followed below steps:
1. Set NLS_LANG=ARABIC_United Arab Emirates.AR8MSWIN1256
2.Set REPORTS_PATH to the system font directoy such as C:\SYSROOT\Fonts
3.transferred the arialbd.ttf to $ORACLE_HOME/guicommon/tk/admin/AFM
4.Open uifont.ali under$ORACLE_HOME/guicommon/tk/admin, set the font alias
entries at [PDF:Subset] section.
[PDF:Subset]
Arial...Bold.. = "arialbd.ttf"
5. open datap462.ppd under $ORACLE_HOME/guicommon/tk/admin/ppd, set the font information like
*Font Arial-Bold: Standard "(001.001)" Standard ROM
6.added following entries:
Add this under the following section
## setting for Reports Runtime
REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:$ORACLE_HOME/
guicommon/tk/admin/AFM:${REPORTS_PATH};
export REPORTS_PATH
b) Add this in the end of the Reports.sh file
PRINTER=dds62; export PRINTER
tk90_PRINTER=dds62; export tk90_PRINTER
tk90_PRINT_STATUS=echo; export tk90_PRINT_STATUS
=======================================
After having all these steps, still my report output is coming with junk characters.
Please help me on this and this is very urgent requirement for me and i am trying on this since 3 days.
Thanks,
HariniHello,
Try to set the Font Subsetting like below in the file uifont.ali
[PDF:Subset]
* = "arialbd.ttf"
If it works after this modification, the problem will be related to the Font Aliasing
Troubleshooting Guide for Font Aliasing / Font Subsetting / Font Embedding Issues (Doc ID 350971.1)
Regards -
JDOM + READING HINDI XML + JUNK CHARACTERS + NEED HELP
MY QUESTION :
The Junk characters you see in below xml are hindi characters. When I change font to DVBW-TTYogesh in notepad I am able to see Hindi text.
When I retreive element's content using getText() of JDOM's Element class I am getting junk characters but not hindi text.
How to retrieve Hindi Text ?
<?xml version="1.0" encoding="UTF-8"?>
<content id="v1_t1_st1">
<name><![CDATA[������� ���������� �������������� ���� ����������� ����� ��������� ������]]></name>
<step id="1" loadFullPage="true">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_01.mp3"/>
<graphic src="02_10_01_001_01.swf"/>
<transcriptText><![CDATA[������������, ������� ��� �������� ���������� ��� ��� ��� ��� ������������ �������� ��� ����� ����� ��� ������ ��������� ��� (������) �������� ��������� ��� ������������ ��� ���� ������ ��������������� �������� ��� ������ ��� ����������]]></transcriptText>
</step>
<step id="2" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_02.mp3"/>
<graphic src="02_10_01_001_02.swf"/>
<text>
<point><![CDATA[������ �������������� ��������]]></point>
<point><![CDATA[������ ��� ������������]]></point>
</text>
<transcriptText><![CDATA[������ �������������� ������� ���� ��������� ������������ ��� ���� ������ ������� ������� �� ���� ��� ������ ��� ������ ������� ��� ������ ��� ��� ������ ��� ��� �������� ��� ���� ��� ����� ������� ���� ���� ������� ��� ����� ����� ������������ ���� ������������ ������� ���, ������ ���� ������ ������ ����� ��� ��������� ���� ������ ��� � ���� ��� ����� ��� ������������ ���� ������]]></transcriptText>
</step>
<step id="3" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_03.mp3"/>
<graphic src="02_10_01_001_03.swf"/>
<text>
<point><![CDATA[�������� �������]]></point>
</text>
<transcriptText><![CDATA[������� ������� ������� ���������� ��� �������� ���, ����� ����� ������� ���������� ��� ����� ��� �������� ������� ����� ���������, ������ ������� ��� ������ ������� ��� ������� ���� ��������� ��� ������]]></transcriptText>
</step>
<step id="4" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_04.mp3"/>
<graphic src="02_10_01_001_04.swf"/>
<text>
<point><![CDATA[����� ������� �����]]></point>
<point><![CDATA[������]]></point>
</text>
<transcriptText><![CDATA[����� ������� ��� ��� �������� �������� ������ ��� ����� ������� ������ ����� ������� ����� ��� �������� ���� ���� ���� ������� ��, �������� ��������� ������ ���������� ���� ������� ��� ������ ��� ����� ��������� ��� ������ ������ ������ ����]]></transcriptText>
</step>
<step id="5" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_05.mp3"/>
<graphic src="02_10_01_001_05.swf"/>
<text>
<point><![CDATA[������� ������]]></point>
<point><![CDATA[���������]]></point>
<point><![CDATA[U ������]]></point>
</text>
<transcriptText><![CDATA[������ ����� ������ ������ ���� ������� ������� ����� ��������� ��� ����� ������� ����� ��� ����� ������� ������ ���� ��������� ������ ������� ���������� ���� ��� ����� �������� ������� ����<br/>������ ���������� U ��������� ��� ������ ��� ������ ��� ����� ������� ������ ����� ������� ����]]></transcriptText>
</step>
<step id="6" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_06.mp3"/>
<graphic src="02_10_01_001_06.swf"/>
<text>
<point><![CDATA[��������]]></point>
<point><![CDATA[������� �����]]></point>
<point><![CDATA[��������� �����]]></point>
<point><![CDATA[�������� ���� ]]></point>
</text>
<transcriptText><![CDATA[������� ��� ������ ���� ������� ����� ������� ��������� ��� ����� ��� ���������� ���� �������� ������� ����<br/>�������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ������ ��� ������ ������� ����<br/>���� ������, ������� ����� ��� ������ ���� ������ ������� ���<br />������ ����� ������ ��������������� ����� ������� ���������� ��� ������� ������ ������� ���]]></transcriptText>
<Practice>
<Question audio="02_10_01_001_06_q.mp3"><![CDATA[�������, ������� ����� ������� ��������� ������ ��� �������������� ��� ���������� ��� ������� ������� �� -]]></Question>
<Answers>
<Option answer="1"><![CDATA[������� ����� ����� ��������� �����]]></Option>
<Option><![CDATA[����� ������]]></Option>
</Answers>
<CorrectFeedback audio="02_10_01_001_06_fb1.mp3"><![CDATA[���� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></CorrectFeedback>
<IncorrectFeedback audio="02_10_01_001_06_fb2.mp3"><![CDATA[���� ����� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></IncorrectFeedback>
<Alert></Alert>
</Practice>
</step>
</content>
MY QUESTION :
The Junk characters are hindi characters. When I change font to DVBW-TTYogesh I am able to see Hindi text.
When I retreive element's content using getText() I am getting junk characters but not hindi text.
How to retrieve Hindi Text ?
2nd question :
When I store Hindi language in xml I am not able to see hindi characters.MY QUESTION :
The Junk characters you see in below xml are hindi characters. When I change font to DVBW-TTYogesh in notepad I am able to see Hindi text.
When I retreive element's content using getText() of JDOM's Element class I am getting junk characters but not hindi text.
How to retrieve Hindi Text ?
<?xml version="1.0" encoding="UTF-8"?>
<content id="v1_t1_st1">
<name><![CDATA[������� ���������� �������������� ���� ����������� ����� ��������� ������]]></name>
<step id="1" loadFullPage="true">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_01.mp3"/>
<graphic src="02_10_01_001_01.swf"/>
<transcriptText><![CDATA[������������, ������� ��� �������� ���������� ��� ��� ��� ��� ������������ �������� ��� ����� ����� ��� ������ ��������� ��� (������) �������� ��������� ��� ������������ ��� ���� ������ ��������������� �������� ��� ������ ��� ����������]]></transcriptText>
</step>
<step id="2" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_02.mp3"/>
<graphic src="02_10_01_001_02.swf"/>
<text>
<point><![CDATA[������ �������������� ��������]]></point>
<point><![CDATA[������ ��� ������������]]></point>
</text>
<transcriptText><![CDATA[������ �������������� ������� ���� ��������� ������������ ��� ���� ������ ������� ������� �� ���� ��� ������ ��� ������ ������� ��� ������ ��� ��� ������ ��� ��� �������� ��� ���� ��� ����� ������� ���� ���� ������� ��� ����� ����� ������������ ���� ������������ ������� ���, ������ ���� ������ ������ ����� ��� ��������� ���� ������ ��� � ���� ��� ����� ��� ������������ ���� ������]]></transcriptText>
</step>
<step id="3" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_03.mp3"/>
<graphic src="02_10_01_001_03.swf"/>
<text>
<point><![CDATA[�������� �������]]></point>
</text>
<transcriptText><![CDATA[������� ������� ������� ���������� ��� �������� ���, ����� ����� ������� ���������� ��� ����� ��� �������� ������� ����� ���������, ������ ������� ��� ������ ������� ��� ������� ���� ��������� ��� ������]]></transcriptText>
</step>
<step id="4" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_04.mp3"/>
<graphic src="02_10_01_001_04.swf"/>
<text>
<point><![CDATA[����� ������� �����]]></point>
<point><![CDATA[������]]></point>
</text>
<transcriptText><![CDATA[����� ������� ��� ��� �������� �������� ������ ��� ����� ������� ������ ����� ������� ����� ��� �������� ���� ���� ���� ������� ��, �������� ��������� ������ ���������� ���� ������� ��� ������ ��� ����� ��������� ��� ������ ������ ������ ����]]></transcriptText>
</step>
<step id="5" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_05.mp3"/>
<graphic src="02_10_01_001_05.swf"/>
<text>
<point><![CDATA[������� ������]]></point>
<point><![CDATA[���������]]></point>
<point><![CDATA[U ������]]></point>
</text>
<transcriptText><![CDATA[������ ����� ������ ������ ���� ������� ������� ����� ��������� ��� ����� ������� ����� ��� ����� ������� ������ ���� ��������� ������ ������� ���������� ���� ��� ����� �������� ������� ����<br/>������ ���������� U ��������� ��� ������ ��� ������ ��� ����� ������� ������ ����� ������� ����]]></transcriptText>
</step>
<step id="6" loadFullPage="true" templateType="TemplateBullet">
<title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
<audio src="02_10_01_001_06.mp3"/>
<graphic src="02_10_01_001_06.swf"/>
<text>
<point><![CDATA[��������]]></point>
<point><![CDATA[������� �����]]></point>
<point><![CDATA[��������� �����]]></point>
<point><![CDATA[�������� ���� ]]></point>
</text>
<transcriptText><![CDATA[������� ��� ������ ���� ������� ����� ������� ��������� ��� ����� ��� ���������� ���� �������� ������� ����<br/>�������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ������ ��� ������ ������� ����<br/>���� ������, ������� ����� ��� ������ ���� ������ ������� ���<br />������ ����� ������ ��������������� ����� ������� ���������� ��� ������� ������ ������� ���]]></transcriptText>
<Practice>
<Question audio="02_10_01_001_06_q.mp3"><![CDATA[�������, ������� ����� ������� ��������� ������ ��� �������������� ��� ���������� ��� ������� ������� �� -]]></Question>
<Answers>
<Option answer="1"><![CDATA[������� ����� ����� ��������� �����]]></Option>
<Option><![CDATA[����� ������]]></Option>
</Answers>
<CorrectFeedback audio="02_10_01_001_06_fb1.mp3"><![CDATA[���� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></CorrectFeedback>
<IncorrectFeedback audio="02_10_01_001_06_fb2.mp3"><![CDATA[���� ����� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></IncorrectFeedback>
<Alert></Alert>
</Practice>
</step>
</content>
MY QUESTION :
The Junk characters are hindi characters. When I change font to DVBW-TTYogesh I am able to see Hindi text.
When I retreive element's content using getText() I am getting junk characters but not hindi text.
How to retrieve Hindi Text ?
2nd question :
When I store Hindi language in xml I am not able to see hindi characters. -
Junk characters are displayed in report output
Hi Gurus,
We are facing an issue while generating a report developed in Oracle 10g, while fetching the data in one column the report is displaying junk characters although while running the query on the database the value is coming correct for the same column. We are writing the report data on the AIX and with the help of WEBUTIL the reports gets transferred on the client machine which is having windows XP as operating system. Although we have many reports running on the same concepts but only in this particular report the issue is coming.
Our AS Version is 10.1.2.3.0
OS Version is AIX 5.3
Please provide some solution.
Thanks in advance.
Regards,
PradipHi Roberto,
Thanks for your reply.
As per your suggestion , I had checked with both DB & AS both are same i.e.
In DB it displays the value AMERICAN and for AS it displays NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
Please give some idea. Sometimes this report gives the right output and sometimes gives output having one column with junk character of CSV file.
Regards,
Pradip -
Report displaying junk characters or Greek or some other language
Hi All,
I have one Custom report in PDF. It is a simple tabular report. When I run this report from Report Builder, it runs fine but when I register it in Oracle Apps and run it from there, it displays all the characters in Greek or some other language or junk characters. Sometimes it works if I change font. But its a trial and error. I dont understand why is it happening. This has happened with one of my other reports too. It worked when I changed the font and its size. This time it didnt work. Any clue how can I fix this issue?
Any lead will be appreciated.
Thanks,
CAH
Edited by: user638181 on Sep 3, 2009 7:05 AMHi Hussein,
We have similiar issue with our custom PDF reports. We are in the process of upgrading from 11.5.9 to R12.
All these reports work fine in 11.5.9.
Following are the details of our R12 environment:
1) What is the application release? Application release is 12.1.1
2) What is application/database characterset? Database - 11.1.0.7.0 and characterset is UTF8.
3) Is this a text or bitmap report? What is the report language? - It is a text report and Language is English
4) Do you use PASTA for printing? - Yes we do
5) Do you get the correct printout if you print the concurrent request output file from the OS? - If I run the report from report builder directly, Yes. If from Oracle Apps, no.
6) Expected output: "Days in Queue"
Actual Output: when I copy and paste the output here it is showing correct. But on the report it is showing
something like ∆Ωµ.....
7) If I try changing the font, it works
8) A different text field on the same report with the same font shows good.
I would appreciate your help on this one.
Thanks
Vishnu -
Report Output in text giving junk characters
Hi All
I have created custom report in rdf file format. When running the report set output as PDF means its come good. Incase i will change report output as text means its shows lot of junk characters in output time .
How can i will solve the issue
Sample Text Output :
(s7BTAN CHONG MOTOR ASSEMBLIES S(s0B
<-(s7BNo: 249, Jalan Segambut, 51200 Kuala <-(s0B
<-(s7BSTATEMENT OF ACC(s0B
<-(s7BAS ON(s0B (s7B16-APR-13<-(s0B
<-(s7BSupplier (s0BAFM MART SDN BHD <-(s7BSupplier Account N<-(s0B
NO 6 JALAN SS 4C/5
TAMAN RASA SAYANG
TAMAN RASA SAYANG
PETALING JAYA
PETALING JAYA
SELANGOR
Malaysia-47301
03-78048099 Document Cur Base Curr
Docume Curre --------- ---------------
nt Ref Num Doc T Tranx Due D !CurRa Deb Cred Deb Cred Balan
(s7BOpen I(s0B
*****TESTINGABC STD INV ***********MYR 456 456 456
*****TESTING123 STD INV ***********MYR 1000 1000 1000
(s7BTotal Pa<-(s0B (s7B0(s0B (s7B1456(s0B (s7B1456(s0B
(s7BTotal Outstandin(s0B (s7BCurrent(s0B (s7B31 - 60 Days(s0B (s7B61 - 90 Days(s0B (s7BAbove 90 D(s0B
(s7B1456(s0B (s7B0(s0B (s7B0(s0B (s7B0(s0B (s7B0(s0B
Edited by: 993525 on Apr 16, 2013 10:25 AMHi
What is your database/application characterset? - AL32UTF8
NLS_LANG : AMERICAN_AMERICA.WE8ISO8859P1
concurrent request log file
-------------------+
XXTC Custom: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XXTCM_SUPPLIER_SOA module: XXTC Supplier Statement
Current system time is 16-APR-2013 10:40:18
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
P_VENDOR_NUM_FROM='2'
P_VENDOR_NUM_TO='2'
P_INVOICE_DATE_TO='2013/04/16 00:00:00'
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
AMERICAN_MALAYSIA.AL32UTF8
Enter Password:
Report Builder: Release 10.1.2.3.0 - Production on Tue Apr 16 10:40:19 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
446
------------- 1) PRINT -------------
Printing output file.
Request ID : 607096
Number of copies : 0
Printer : noprint
Finished executing request completion options.
Concurrent request completed successfully
Current system time is 16-APR-2013 10:40:20
Thanks Sanjay
Edited by: 993525 on Apr 16, 2013 11:38 AM -
Junk Characters in Report Output(While redirecting the output to text file)
While generating the report (Reports 9i) output to a text file, I get the report output that contains junk characters. The other output formats viz. pdf, rtf have no problem.
Please share how to correct it.
Thanks.Yes, the MODE is set to Character and DESFORMAT is set to DFLT.
Still the problem exists.
Any idea please? -
Problem displaying Arabic characters in PDF using Java APIs
We are experiencing a problem when attempting to display Arabic characters within a PDF document using the Java APIs.
The relevant Java code is as follows:
RTFProcessor processor = new RTFProcessor("example.rtf" );
processor.setOutput( “example.xsl” );
processor.setExtractXLIFF(true);
processor.process();
ByteArrayOutputStream dataOut = new ByteArrayOutputStream();
DataProcessor dataProcessor = new DataProcessor();
dataProcessor.setDataTemplate( example.xdt" );
if( parameterValues != null && parameterValues.length > 0 )
setReportParameters( dataProcessor, parameterValues ); // method to set any report parameters from the parameterValues list.
dataProcessor.setConnection( jdbcConnection );
dataProcessor.setOutput(dataOut);
dataProcessor.processData();
FOProcessor foProcessor = new FOProcessor();
foProcessor.setLocale( locale );
foProcessor.setData( new ByteArrayInputStream( dataOut.toByteArray() ) );
foProcessor.setTemplate( “example.xsl” );
String xliffFileNameAndPath = getXLIFFFile( “example”, locale );
if( xliffFileNameAndPath != null )
foProcessor.setXLIFF( xliffFileNameAndPath );
foProcessor.setOutput( "example.pdf" );
foProcessor.setOutputFormat(
outputFormat == PDF_FORMAT ? FOProcessor.FORMAT_PDF : FOProcessor.FORMAT_HTML );
foProcessor.generate();
The method getXLIFFFile( ) gets the relevant XLIFF file for the supplied report locale (if it exists) – the three test files that we used were Italian (example_it_IT.xlf), Spanish (example_es_ES.xlf) and Arabic (example_ar_AE.xlf).
I imported the following JAR files from the XML Publisher release (version 5.6.2) into my Java application: collections.jar, i18nAPI_v3.jar, versioninfo.jar, xdocore.jar and xmlparserv2.jar.
The output is OK for all three translations in HTML format, using a charset of UTF-8, and for Italian and Spanish in PDF format. However, the Arabic characters display as question marks in PDF format. The same issue occurs if I stream the output as a byte array straight to the HTTP response rather than save within a file.
Note that the same RTF, XDT and XLIFF files produce the correct output in both HTML and PDF when executed within XMLPublisher.
Thank youHi
I had a similar issue with arabic chars. With PDF layout, chars were appearing properly when preveiwd on local m/c, but as I implement file on server, it was displayed as ?????. I had raised a TAR 5798348.993 with oracle about this and they suggested to apply patch 4028294 Oracle Sourcing J Rollup and then patch 4182914. But later my users changed requirement and i cud not apply the patch to test if it works fine.
But here, you have suggested that installing fonts would do. Is it really that simple? If yes, dont know what is that patch for which I was told to apply.
Regards
Varun -
Junk Characters in the Output of Reports2.5
I have created Report in Reports2.5 which is giving good output display
But when I Register the Report in Oracle Apps & see output
it shows Junk Characters in the place of Labels
e.g. Revenue Report
will come like sg0Revenue o7Report
Can any-one give me the solution for this
Regards / Shailesh ( [email protected] )This is probably due to the prt file that's being used to format the output. I'm willing to bet that the headings are in bold, and the prt file being used has includes some control characters to tell the printer to switch on and off bold - when you view the output file those are the characters you're seeing.
To switch this off simply remove the control characters from the prt file being used.
Hope this helps,
Danny
Maybe you are looking for
-
How do I add the word "DRAFT" as a watermark on a Pages document?
How do I add the word "DRAFT" as a watermark on a Pages document? I don't want to create an image - I just want to type in the word and have it appear across every page.
-
I credited my itunes account on my pc with a £15 voucher, after a few downloads, I am left with £1.29 When I check on itunes via my touch it shows a different amount over £5 in fact, are these different accounts or is the touch just not updating my p
-
Newbie-how to use EJB in JSP?
Can some one please point me to any sources, tutorials, examples on using enterprise javabeans in JSP? How can I use an entity bean home interface or findByprimaryKey methods in JSP? Thanks in advance.
-
TS4006 Can I see my reminders on my iphone in icloud?
My iphone 4s is Dead and won't sync to itunes acct. can I see my reminders on my iphone in icloud?
-
Converting WMV files to QuickTime and file size
I have QT Pro and I have no problem doing a "save as..." for converting WMV files to .mov. I also have Flip4Mac converting the file to be viewed in QT first. My question is that if I do a straight-ahead "save as..." it'll make the file's size about 2