Arabic Characters Alef & Lam Appear Incorrect at Runtime using Sun JRE/JPI
Hi,
We implemented Sun JRE for Oracle EBS 11i in Production on 7th Jan 2009.
We went with Sun JRE 1.6.0_07 as we faced new Broswer Minimizing Problem in IE with 1.6.0_10 and 1.6.0_11.
Now we have some issue related to Arabic Characters Alef and Lam - Doc Id 731703.1.
The solution is to use 1.6.0_11 but we can't. I would like to know if there is any work around without using 1.6.0_11.
Thanks
Thiru
Hi,
We have the problem with 1.6.0_11 also.
I checked in TEST instance. Strangly the problem is only while using Arabic Forms thru Arabic Login.
If we login thru English Login and access the same Form in Enlgish and then type in Arabic there is no problem. I got these details from our Arabic Consultants.
I am trying the revert back to jinitiator.
Rgds,
Thiru
Similar Messages
-
Arabic characters don't appear correctly, why?
Hi all,
i have a problem i think many others have. The problem is that i'm trying to render arabic text in JDeveloper9i and Win2000 proffisional, but the arabic characters are rendered as question marks, although i have set the encoding option of the compiler to many encodings that support arabic and select several fonts that support arabic also, and even i have set the system locale to Saudi Arabia locale but the problem still exists. the very strange action i noticed that i can write arabic in the editor and the property inspector but after saving the file (.java or .xml or any) and then closing and reopening the file, the arabic characters are displayed as question marks, may be the editor encoding and the OS encoding are defferent? so i set the encoding option the "default", but the problem still exists. I don't know exactly, but if any one has an answer or a solution, he is welcome.
TIA to allYou have a byte order mark (BOM: ) in the file to specify the encoding, but the server may be configured to send the file as western iso-8859-1
*http://en.wikipedia.org/wiki/Byte_Order_Mark
Firefox ignores the encoding in a meta tag and BOM directions if the server sends an encoding via the response headers. <br />
It is usually best to make sure that the editor doesn't add such a BOM at the start of the file.
If necessary then you or visitors can change the currently used encoding to Unicode.
*Firefox > Web Developer > Character Encoding
*View > Character Encoding -
Help:displaying Arabic characters using XSL
How do I display static Arabic characters using XSL in a HTML page, from within a JSP?
I need to display a HTML page wherein static Arabic characters have to be shown. I use the following XSL document with static Arabic characters inside:
<?xml version = '1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<HTML>
<HEAD/>
<xsl:apply-templates/>
</HTML>
</xsl:template>
<!-- document xsl:template -->
<xsl:template match="booklist">
<BODY BGCOLOR="#CCFFFF">
<H1>^GFcI cSGZOI
</H1>
<P> This will illustrate the transformation of XML file containing list of books to a HTML table form
</P>
<xsl:apply-templates/>
</BODY>
</xsl:template>
<xsl:template match="booklist/book">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="booklist/book/title">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="booklist/book/author">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="booklist/book/publisher"/>
<xsl:template match="booklist/book/price"> Price: $
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
When I try to read the XSL document using an IO stream, like this,
InputStream is = getClass().getResourceAsStream("myXSLDocument.xsl");
XSLStylesheet stylesheet = new XSLStylesheet(inputStream, null);
from within a JSP, I get a null pointer exception as shown below:
java.lang.NullPointerException:
at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:175)
at mip.portlets._cardvalidaterportlet._cardentry._jspService(_cardentry.java:143)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.portal.provider.v1.http.JspRenderer.renderBody(JspRenderer.java:133)
at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:164)
at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(ServletProviderResponse.java:510)
at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.java:647)
at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:383)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)
I have no problems parsing the same XSL containing static Arabic text using Transviewer beans' XSLTransformPanelSample class. This means that my XSL has no errors in it.
nullYou need to use the correct and the same character encoding (charset) thorough the complete process.
Whenever you get question marks, then it means that the charset used does not recognize the bytes (which on its turn are apparently encoded by a different charset).
This is an important read, read it from top to bottom, preferably twice: [http://www.joelonsoftware.com/articles/Unicode.html]. -
Arabic characters is expands and repeated
Hi,
Please help in the following problem which is when we print standard
reports including Arabic characters through SAP system the Arabic
characters is expands and repeated, we already used device type u201C ARSWINu201D
Moreover, we already applied sap note u201C822634u201D but nothing is changed
Also, we changed the language of the local pc to be Arabic but nothing
is changed
Furthermore, we logged into system with Arabic language and the problem
still occurred
Regards,
AhmedHi Vincent,
As I mentioned in problem details I tried to print standard reports, which is mean the problem appears at the level of the whole system, which is mean itu2019s occurred in any sap screen including Arabic characters such as sap menu in Arabic login, regarding the sap notes u201C809034u201D my release is 7.00.
Regards,
Ahmed -
Arabic characters appear as empty squares when using certain HTML tags or font styles
Only when HW acceleration is on. Arabic characters appear as empty squares when using "italic" or "oblique" font styles or when using <i> or <em> html tags.
Try this code to replicate the problem
<pre>
<p>مشكلة ظهور المربعات الخالية بدل الحروف</p>
<p style="font-style: italic;">Italic مشكلة ظهور المربعات الخالية بدل الحروف</p>
<p style="font-style: oblique;">Oblique مشكلة ظهور المربعات الخالية بدل الحروف</p>
<i>i tag مشكلة ظهور المربعات الخالية بدل الحروف</i> <br> <br>
<em>em tag مشكلة ظهور المربعات الخالية بدل الحروف </em>
</pre>After lots of research, I found the problem. The boxes (squares) show up whenever there is a font in the webpage that does not have Arabic within its Unicode range such as Times New Roman Italic or Oblique. Normally, Firefox will pick another font to display the characters but now, a newly introduced feature is interfering.
To fix the problem without turning off hardware acceleration.
Go to about:config
locate: gfx.font_rendering.directwrite.use_gdi_table_loading
which is True by default in FF4.0 Beta 10, and change it to False.
This is a bug that has to be fixed. -
Appears in Arabic characters when you are tying to type in English?
what to do when you type as usual in a Word doc or in Facebook and it appears in Arabic characters when you are tying to type in English?
Check in 'Languages' in International (system preference panels) to see if the default language of choice has somehow changed to another one.
Usually you can change this while in an Admin account, since its effect may be system-wide.
Hopefully this helps.
Good luck & happy computing! -
E61 mismapped, Arabic characters appearing in cert...
I have an unlocked Nokia e61. At some point, it must of had arabic language loaded. I have the phone language set to english. All is well, except for certain keys. When I press them I get either mismapped characters (e.g. + gets me =, the $ get me ')
On other keys - the lowest row - I start to get arabic characters. For example, @ and ? give me arabic (I don't even know how to get them on a PC keyboard).
While in a message, I have gone to Options > Writing Language. 3 languages appear: Arabic, English, and Francais. I select English, but it does not change anything.
How do I remove the arabic? How do I get the mismapped characters remapped?Hello1 Any luck? I have the same problem
-
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 -
Problem with Arabic characters
Hi:
I don't know if this is the correct place to post the question, but here it goes...
I have an SQL 2005 database, connected via a Linked Server to an Oracle Database.
I have a table in SQL that contains arabic characters, and I need to insert it into an Oracle table.
These characters appear as "????" after being inserted in the oracle table.
I guess I hace some collation/characterset problem, but cannot finf the solution.
The column where the arabic characyers are saved in SQL is defined as:
[Remarks] [nvarchar](1000) NULL,
And default SQL server collation is: SQL_Latin1_General_CP1_CI_AS
When I do a select on this table, it can see arabic correctly.
ORACLE NLS CONFIGURATION IS:
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET AR8MSWIN1256
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 11.1.0.6.0
The sql sentence in SQL server that moves the data to oracle is:
INSERT INTO openquery(Oracle_DB, 'select Ticket_NO,Remarks from webportal.webcc_escal_det')
(Ticket_NO,Remarks )
SELECT Ticket_NO, Remarks
FROM Details(nolock)
Thanks in advance!!
MarianaI think first you should check your character set
SELECT * FROM NLS_DATABASE_PARAMETERS where parameter = 'NLS_CHARACTERSET'
For oracle to display correctly, you need to change your character set that caters to Arabic -
Oracle Reports 11.1.2 junk Arabic characters in PDF
Hi guys,
When I generate a report with Arabic characters, they appear as junk characters.
I did the following:
Set NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256
Include C:\WINDOWS\Fonts in REPORTS_PATH (in the Registry: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OH258674538 )
Open uifont.ali and set the font alias:
[PDF:Subset]
"Arabic Transparent"...Bold.. ="arialbd.ttf"
"Arabic Transparent"="arialbd.ttf"
Installed Arabic keyboard in Windows server that hosts Reports server
Changed the location to United Arab Emirates in Windows
Run the report with DESTYPE=FILE and DESFORMAT=PDF
I also tried to change the font name of the field that contains the Arabic data in the report to things like: Tahoma, Arial, Courier New, but with no luck.
Environment Specs:
OS: Windows 2008 R2
Oracle Reports 11.1.2 (installed on the top of Weblogic 10.3.6.0)
Thanks in advance.hi,
you have to touch following files.
$ORACLE_HOME/guicommon/tk/admin/AFM
$ORACLE_HOME/guicommon/tk/admin/AFM/Symbol.afm
$ORACLE_HOME/guicommon/tk/admin/TTF
$ORACLE_HOME/guicommon/tk/admin/uiprint.txt
$ORACLE_HOME/guicommon/tk/admin/uifont.ali
$ORACLE_HOME/guicommon/tk/admin/PPD/datap462.ppd
$ORACLE_HOME/guicommon/tk/admin/PPD/screenprinter.ppd
$ORACLE_HOME/bin/reports.sh
convert your true type font to afm and copy ttf/afm files to respective directory
regards -
Oracle XML Publisher Java API's showing arabic characters as question marks
Hi All,
I have created a custom xml publisher report. All the setups in xdo.cfg and the fonts have been installed. When i run the report as concurrent program using the XDODTEXE as the executable this report executes fine displaying the arabic characters in the PDF output.
I have integrated this xml report to a OAF page where am getting the output of the arabic characters as ???????
Following is the java code i have used to generate the blob for the xml publisher report.
pageContext.writeDiagnostics(this,"Inside process Template",4);
AppsContext appsContext = ((OADBTransactionImpl)pageContext.getRootApplicationModule().getOADBTransaction()).getAppsContext();
String applicationShortName = dataDefApplication;
String dataSourceCode = dataDefCode;
OutputStream os = new ByteArrayOutputStream();
try {
DataTemplate dataTemplate = new DataTemplate(transaction.getAppsContext(), dataDefApplication, dataDefCode);
//Get Parameters
ArrayList parameters = dataTemplate.getParameters();
//set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
Iterator it = parameters.iterator();
while (it.hasNext())
Parameter p = (Parameter) it.next();
pageContext.writeDiagnostics(this,"Processing Parameters "+p.getName(),4);
if (p.getName().equals("P_AUCTION_HEADER_ID"))
if(AuctionHeaderId != null)
p.setValue(AuctionHeaderId);
else
p.setValue(null);
dataTemplate.setOutput(os);
dataTemplate.processData();
System.out.println(os.toString());
} catch (SQLException e) {
System.out.println("SQLException occurred.");
} catch (XDOException e) {
System.out.println("XDOException occurred.");
} catch(Exception e){
System.out.println("Exception (other) occurred.");
byte[] xmlb = os.toString().getBytes();
BlobDomain blob = new BlobDomain(xmlb);
return blob;
Kindly let me if i had missed something.
Thanks
AnoopOn a related note, I am seeing a couple of different types of 'incorrect' characters based on different NLS_LANG settings.
If it is set to AMERICAN_AMERICA.UTF8, I get characters like this:
رقم الموظ�
If it is set to ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256, I get characters like this:
ÑÞã ÇáãæÙÝ
Do any of you know what these characters are?
Thanks for any insight. -
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 -
Java, Oracle, and Arabic Characters
Hi,
I need to run some Forms fmb files that contain Arabic characters through Oracle's forms to xml converter (frmf2xml.bat). The XML that is generated by the utility contains strings such as "رقم الموظ�" instead of the Arabic characters I was expecting.
The XML output by frmf2xml.bat is encoded as UTF-8.
My NLS_LANG is set to AMERICAN_AMERICA.UTF8. The characters display fine in Forms Builder.
Is there another localization setting I need to make with the conversion utility or even with Java itself?
Any insight or comments appreciated.
DaveOn a related note, I am seeing a couple of different types of 'incorrect' characters based on different NLS_LANG settings.
If it is set to AMERICAN_AMERICA.UTF8, I get characters like this:
رقم الموظ�
If it is set to ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256, I get characters like this:
ÑÞã ÇáãæÙÝ
Do any of you know what these characters are?
Thanks for any insight. -
How to print Arabic characters in Oracle BI Publisher report
Dear Experts,
Kindly suggest me how to print arabic characters in BI Publisher.
Regards,
Mohansee link
https://blogs.oracle.com/BIDeveloper/entry/non-english_characters_appears -
Data Integrator: Arabic characters are not correctly displayed
Hi,
I'm trying to load Arabic text via an UTF8 flat file into an Oracle database.
I've read several topics and set the correct code page settings (also during install) for the datastore and flat file.
Already in flat file preview (see attached screenshot), the wrong characters are displayed. The characters as they are displayed, are inserted in the database. So I think that if I get the flat file preview correctly, the text is inserted correctly into the database.
On the other hand: When i copy the contents of the flat file, via a bodi job, to another flat file, the target flat file does contain the correct characters (when opened in a utf8 file reader).
I tried several solutions and also went through the Code Page help topic on the BODI site.
Does anyone know a solution to my problem or know this is a BODI bug or something?
I'm using Designer version 11.5.3.9 (I went through fix notes of versions after 11.5.3.9, but saw nothing mentioned about my problem). The Oracle database does support arabic characters as I can insert them via e.g. SQL Developer.
Thanks a lot in advance!
Picture of the flat file settings and data preview:
[flat file settings and data preview|http://img169.imageshack.us/my.php?image=arabcharyx3.jpg]
Edited by: Willem van Opzeeland on Jul 23, 2008 2:13 PM: added infoHé Amr, thanks a lot! This sounds good.
I indeed saw a kind of this solution somewhere else. What I did not is restarting the computer, since it is a shared server. Maybe that was why it didn't solve my problem.
Before I restart an additional question: I need to convert some files with Turkish characters as well.
Have you got a value which I can put in NLS_LANG, which supports these characters and Arabic characters both at the same time?
Maybe you are looking for
-
I was wondering if it was possible to connect a 30" Cinema to an HDMI receiver such as (Yamaha RX-V1600), i imagine this would go from a Cinema DVI Dual to HDMI to receiver, and using a G5 DVI dual to HDMI to receiver. Does HDMI have enough bandwidth
-
DVD not playing with widows media player
File called UDF. Cannot play on Windows Media Player.
-
Maintain RAW filename when renaming in Lightroom
When renaming files in Lightroom 1.2 when you are exporting files how do you keep the original RAW filename in Metadata? I cut DVDs of my files after they are downloaded and want to be able to tell what the original filename was before it was renamed
-
Aiport extreme dual band base station not connecting to the internet...
I just bought the aiport extreme the other day, i'm having a lot of trouble connecting to the net. my setup: ADSL 2+ modem connected to the airport which than connects to my MBP. I have no problem connecting to the internet when i hook up my MBP to t
-
how do i reset my ipad it has been disabled how can i fix this problem