Problem dispalying arabic data !!

Hi there..
am having problem dispalying the arabic data coming from an html form in my JSP page; for exapmle, when i try to display the user arabic name from the request using:
String name = request.getParameter("a_name");
the page displays: "????????"
is there any enviroment setting or even some encoding parameter i should supply??
thanx n advance... Mourad

Hi there..
am having problem dispalying the arabic data coming
from an html form in my JSP page; for exapmle, when i
try to display the user arabic name from the request
using:
String name = request.getParameter("a_name");
It could be a no. of problems. You are not getting the right data out of the request.
you donot have the fonts on your machine.
the jsp as somebody has mentioned is not using utf-8 encoding.
But to be sure try printing out the hex values of the String name and see if you are gettig the right hex values of are you getting 3f?
If you are getting 3f then it means that you are not able to retrieve the data correctly from the request.
You could also try doing a snoop in that case to see if the data was sent correctly.
&#9824

Similar Messages

  • Report 6i Arabic Date alignment problem in Windows 7

    Hi
    We have 6i Forms and Report and wanna run in windows 7. But we found arabic Date disaplay problem in reports. As you know arabic writting from right. But date display like 21/10/1431 and I wanna like 1431/10//21.
    I tried from regional setting and change date format from report. but this is problem from system it self,
    not accept right alignment. Even I install left to right patch (KB979643-x86).
    Please Help
    Thanks

    Like others have said you need to run the bootcamp installer to install the drivers.
    The time issue was a constant annoyance rebooting with OSX and my old XP bootcamp setup but it's gone with Windows 7 once you set your time to UTC format in the date and time properties instead of local time which OSX uses and XP couldn't support.

  • Arabic data migration problem

    I'm using SQL developer to migrate from SQL server 2005 database (whose encoding is Arabic) to and Oracle database (whose encoding is UTF16). The arabic data are migrated successfully but appear as ?????? marks. Is there a way to migrate the data successfully?
    thx all

    We are using 3 data base for the appllication developed in java.
    One of our common table containing all the country location ( post code / zip ) details. Problem is that this details are insert to the data base using SQL*PUS or Sql command line available while installing oracle 10g / 10g express data base.
    But when we run sql script with special characters like МП Летище Бургас ( Bulgarien )
    INSERT INTO beoatlas2.OPTION(LANGUAGE,VERSION,TYPE,module,CODE,description,bemerkung,description2,description3) VALUES('DE','SCPRLD','122','ALL','BG001002','МП Летище Бургас','','','ext');
    or Β΄ ΘΕΣΣΑΛΟΝΙΚΗΣ ( Griechenland - greece )
    INSERT INTO beoatlas2.OPTION(LANGUAGE,VERSION,TYPE,module,CODE,description,bemerkung,description2,description3) VALUES('DE','SCPRLD','122','ALL','GR002002',N'Β΄ ΘΕΣΣΑΛΟΝΙΚΗΣ','','','ext');
    it returns as ?????? marks . i set NLS_LANG to AL32UTF8 using command set NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    then also it displaying as ???????
    I need to insert these details properly in Linux and windows Os using sql command line .
    Any sujections are appreciated . Its very urgent .
    Thanks & Regards
    Shibin Thomas
    [email protected]

  • Truncating arabic data/text when deployed on 10gAS, where as Eng is Ok

    DETAILS:
    When I run a report using report builder everything is fine. But when I deploy that same report on Application server & when I run from browser, the arabic data in the report is getting truncated ! where as English text/data is ok.
    To solved this problem I have to expand each text / item in report builder. But why with arabic only? And how the report is working fine when run using Report Builder? For some reports even after expanding still gets truncated while deployed on Application server.
    I think the FIX is around PDF. when report is deployed on AS, then output is generated in PDF & then above problem is encountered. Where as executed in Report Builder, output is generated in previewer which is fine.
    please help
    Edited by: Mubeen on Mar 18, 2009 2:56 AM

    I have experiecnce with this problem... and unfortunatly ther's not solution.
    Some trigger (like when-mouse-enter or when-mouse-live) don't work with form deployed on web. I suppose that these triggers are not supported in deployd on web because the "client" browser shuld be constantly comunicate with the runtime engine.

  • Problem in arabic language encoding

    hi all
    I have a problem in arabic language encoding when store data into database
    i wrote my problem here in this page
    http://www.010555555.com/Arabic/index.html
    so please contact me if you know the solution on
    [email protected]
    thanks alot all

    whos you sugest for me to solve my problem

  • .CSV not supporting Arabic data

    Hi Gurus,
    My issue is as follows :
    I got the arabic data in Excel 2003 in .xls format ( from client) . When I am trying to save the same data in .csv format in Excel2003 ( for SQL Loader) , it is not supporting to saving the arabic data. Its saving the arabic data as ???? in .csv file . How to overcome this issue and what setings are requried.
    Its a urgent problem i am facing . Pls help me to resolve this issue.
    Thanks in advance

    Hi ,
    Thanks for your reply , but sorry I couldnt see as I was on a long vacation. I have followed your steps and it is resolved now.
    I am facing a new challenge now , How to format the arabic font in control file. I have to upload Arabic data to staging table by using Sql * Loder. Pls can you point to some script for loading the arabic data from .csv file to staging table.
    Thanks in advance,
    Srikanth

  • Arabic data export to PDF from Business Object 6.5

    I have Arabic data in oracle 10g database.
    In Business Objects 6.5 report, am able to see the Arabic data as well.
    When I save the BO report as PDF, the report data in arabic appears as ?????
    I serached all the documentation and scoured the web, but could not get much info.
    How can I get to display the Arabic data in PDF format as well?

    Hi!
    PDF uses its proprietary fonts to generate and display the text and it displays ???? for the character which its unable to interpret from the available fonts directory. You may need to buy some language plugins from Acrobat and integrate it with you Reports Server, to enable your PDF to display Arabic Character. I had a similar problem with Barcodes dislay in PDF.

  • Arabic Data Migration

    Trying to migrate Arabic data from sql server 2000 to Oracle 9i. Getting question marks for Arabic data in the target oracle database. Are there any settings in workbench related to language specific issues.

    We are using 3 data base for the appllication developed in java.
    One of our common table containing all the country location ( post code / zip ) details. Problem is that this details are insert to the data base using SQL*PUS or Sql command line available while installing oracle 10g / 10g express data base.
    But when we run sql script with special characters like МП Летище Бургас ( Bulgarien )
    INSERT INTO beoatlas2.OPTION(LANGUAGE,VERSION,TYPE,module,CODE,description,bemerkung,description2,description3) VALUES('DE','SCPRLD','122','ALL','BG001002','МП Летище Бургас','','','ext');
    or Β΄ ΘΕΣΣΑΛΟΝΙΚΗΣ ( Griechenland - greece )
    INSERT INTO beoatlas2.OPTION(LANGUAGE,VERSION,TYPE,module,CODE,description,bemerkung,description2,description3) VALUES('DE','SCPRLD','122','ALL','GR002002',N'Β΄ ΘΕΣΣΑΛΟΝΙΚΗΣ','','','ext');
    it returns as ?????? marks . i set NLS_LANG to AL32UTF8 using command set NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    then also it displaying as ???????
    I need to insert these details properly in Linux and windows Os using sql command line .
    Any sujections are appreciated . Its very urgent .
    Thanks & Regards
    Shibin Thomas
    [email protected]

  • Oracle Driver For Arabic Data

    hi all,
    My problem is, in my oracle UI, i can write an insert statement and enter arabic data into my oracle database. But if i try to execute the same SQL statement from VB, the data goes all corrupted, and i cannot retrieve the arabic data in arabic format from the database. Am trying to find out, what driver i shud use so that i can update and retrieve arabic data from my database. When i give a select statement in oracle the data appears as ??????????. Please help.
    Thankx in advance
    Vinod Cherian

    Vinod ,
    Try setting the following custom command property for the provider.
    myCommand.Properties("NDatatype") = True.
    Also set the font of the text field in which you are taking the input
    to Tahoma or some font supporting unicode.
    regards
    Jagriti

  • Getting arabic data from Access

    Originally i'm importing data from a word table containing arabic data to oracle database
    i thougt about copying the dat ato excel then importing them to access
    i did that successfully
    now i want to generate insert statements dynamiclly touse them within oracle i did that but the problem when reading the columns containing arabic data from access i get exclaimation marks
    i tried priniting the data to the console or writing them to a file the arabic data didn't apear i tried creating new strings using arabic character encoding cp1256 win-1256 and isoxzxzx it didn't work
    anyone have suggestions?

    hi, did u solve the problem please tell me if u did, im having the same problem.im trying to get arabic words from MS Access database and send them over a network
    Shuqman

  • Arabic Data is break Aparted and reverse in chart

    Dear All
    Please Help
    we are working on OBIEE ver. 10.1.3.4.0 but we have face this MAJOR ( Critical ) problem which is
    Arabic Data is break Aparted and reverse in chart
    so waiting your Answers
    Thanks

    Hy Alireza,
    Oracle Business Intelligence Enterprise Edition version 10.1.3.3.1 offers support for Arabic , Thai, and Hebrew. Due to a limitation in the charting engine that is used in Oracle BI EE, bidirectional and Thai language characters do not render properly in charts.
    To overcome this limitation and enable charting in Oracle BI EE for Arabic, Thai and Hebrew, you can use Oracle BI Publisher charting capabilities. BI Publisher charts are based on the Oracle BI Beans technology. A BI Publisher report containing a chart may be embedded in an Oracle BI Interactive Dashboard in order to meet charting requirements.
    More see here :
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/general_101331.htm#BABEGDDE
    Regards
    Nico

  • Problem getting correct data from MS Access after doing an Update

    Hi all,
    I have a problem getting correct data after doing an update. This is the scenario
    I am selecting some(Eg: All records where Column X = �7� ) records and update a column with a particular value (SET Column X = �c� ) in all these records by going through a while loop. In the while loop I add these records to a vector too, and pass it as the return value.
    After getting this return value I go through a for loop and get each record one by one from the DB and check if my previous update has actually happened. Since No errors were caught while updating DB, I assume all records are updated properly but my record set shows one after another as if it has not been updated. But if I open the DB it is actually updated.
    This does not happen to all records, always it shows like this
    1st record     Mode = �c�
    2nd record     Mode = �7�
    3st record     Mode = �c�
    4nd record     Mode = �7�
    9th record     Mode = �c�
    10th record     Mode = �7�
    I am relatively new to java and this is someone elses code that I have to modify,So I am not sure if there some thing wrong in the code too
    //Here is the method that gets records and call to update and add to vector
    public static Vector getCanceledWorkOrders() throws CSDDBException{
    //Variable declaration
      try {
        objDBConn = DBHandler.getCSDBCon();
        strSQL  = "SELECT bal bla WHERE [Detailed Mode])=?)";
        objStmt = objDBConn.prepareStatement(strSQL);   
        objStmt.setString(1, '7');
        objWOPRs = objStmt.executeQuery();
        while (objWOPRs.next()) {
         //Add elements to a vector by getting from result set
          //updating each record as PROCESSING_CANCELLED_WO(c)
          iRetVal = WorkOrderDetailingPolicy.updateRecordStatus(objPWODP.iWorkOrderNumber, objPWODP.strPersonInformed, EMSConstants.PROCESSING_CANCELLED_WO);
          if (iRetVal == -1) {
            throw new NewException("Updating failed");
      catch (Exception e) {
        vecWONumbers = null;
        throw new CSDDBException(e.getMessage());
      }finally{
        try {
          objWOPRs.close();
          objStmt.close();
          DBHandler.releaseCSDBCon(objDBConn);
        catch (Exception ex) {}
      //return vector
    //here is the code that actually updates the records
    public static int updateRecordStatus(int iWONumber, String strPerInformed , String strStatus) throws CSDDBException{
       PreparedStatement objStmt = null;
       Connection objDBConn  = null;
       String strSQL = null;
       int iRetVal = -1;
       try{
         objDBConn  = DBHandler.getCSDBCon();
         objDBConn.setAutoCommit(false);
         strSQL = "UPDATE Table SET [Detailed Mode] = ? WHERE bla bla";
         objStmt = objDBConn.prepareStatement(strSQL);
         objStmt.setString(1, strStatus);    
         objStmt.execute();
         objDBConn.commit();
         iRetVal = 1;
       }catch(Exception e){
         iRetVal = -1;
       }finally{
         try{
           objStmt.close();
           DBHandler.releaseCSDBCon(objDBConn);
         }catch(Exception ex){}
       return iRetVal;
    //Here is the code that call the records again
      public static WorkOrderDetailingPolicy getWorkOrders(int iWorkOrderNo) throws CSDDBException{
        Connection objDBConn = null;
        PreparedStatement objStmt = null;
        ResultSet objWOPRs = null;
        WorkOrderDetailingPolicy objPWODP = null;
        String strSQL = null;
        try {
          objDBConn = DBHandler.getCSDBCon();    
          strSQL = "SELECT * FROM [Work Order Detailing] WHERE [Work Order No] = ?";
          objStmt = objDBConn.prepareStatement(strSQL);
          objStmt.setInt(1, iWorkOrderNo);
           objWOPRs = objStmt.executeQuery();
          if (objWOPRs.next()) {
            objPWODP = new WorkOrderDetailingPolicy();
            objPWODP.iWorkOrderNumber = objWOPRs.getInt("Work Order No");
            //......Get Record values
        catch (Exception e) {
          objPWODP = null;
          throw new CSDDBException(e.getMessage());
        }finally{
          try {
            objWOPRs.close();
            objStmt.close();
            DBHandler.releaseCSDBCon(objDBConn);
          catch (Exception ex) {}
        return objPWODP;
      }

    Hello,
    Can you put an example of your problem online?
    Are you sure you're not having problems with case sensitive data?
    Thanks,
    Dimitri

  • Problem with Java Dates and UPDATE for SQL2000

    I am having problems with the date formats for Java. I am trying to put the current date time into a SQL table, here it the code I am using:
    var Today = new Date()
    var conn = Server.CreateObject( "ADODB.Connection" )
    conn.Open( "Provider=SQLOLEDB;Server=(local);Database=BillTracking;UID=sa;PWD=;")
    var sql = "UPDATE BillAssignments SET DatePosted = " + Today + " WHERE AssignmentID = '" + Request.QueryString("AssignmentID") + "'"
    var rs = conn.execute(sql)
    I keep getting different errors and I have been unable to find a solution yet. I know that I need to change the date format from the Java standard to the one that SQL likes.
    Help....
    Norm...

    Please tell us where the Java part of this comes in. I see that you are using JavaScript to load up data via an ADO connection (presumably on an IIS platform) - but I do not see where you are using Java
    Lee

  • Problem with passing date parameters in cursor

    Is there any problem in passing date parameters and like clause as below
    CURSOR eftcursor(start_date DATE, end_date DATE, where_clause varchar2) IS
    select * from r_records
    where created_date between start_date and end_date and description like where_clause;
    and in the open statement
    select to_date('01/06/2010 00:00:00', 'dd/mm/yyyy hh24:mi:ss') into startDate from dual;
    select to_date('01/07/2010 00:00:00', 'dd/mm/yyyy hh24:mi:ss') into endDate from dual;
    str := '%something%aaaaa%';
    open eftcursor(startDate ,endDate , str);
    Do i need to do any kind of conversion in the cursor where clause or when i am passing the parameter in open statement.

    Almora wrote:
    Do i need to do any kind of conversion in the cursor where clause or when i am passing the parameter in open statement.No, your code looks correct -- ou're passing a date to the cursor.
    You might consider whether you really need an explicit cursor though. An implicit cursor is easier to code and performs better.

  • How to show arabic data in to crystal reports ?How to aligh crystal report right to left

    <p>we are trying to make a crystal report for both english and arabic..All the arabic data is stored in data base tables.And for arabic screens we need tables and datas come right to left.. </p><p>1)How can we get the arabic data and right to left alignment in crystal reports? </p><p>2)Is thee any direct method to change the report alignments? </p><p>can u please send some sample codes. </p><p>we are using java version= 1.5 </p><p>database using =Oracle 9i </p><p>char set we are using for arabic= CP1256</p><p> Tomcat using=4.1 </p><p>we are using Crystal Reports11 </p><p>We are not having seperate rpt files for reports. we are making each Sections and adding this sections to FieldObjet to make the report dynamically. A sample Employee report in english is attached..Can u instruct how can i get this report in arabic assuming all datas are stored in database. </p><p><br />import java.awt.BorderLayout;<br />import javax.swing.JFrame;<br />import com.crystaldecisions.ReportViewer.ReportViewerBean;<br />import com.crystaldecisions.sdk.framework.CrystalEnterprise;<br />import com.crystaldecisions.sdk.framework.IEnterpriseSession;<br />import com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory;<br />import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;<br />import com.crystaldecisions.sdk.occa.report.data.;<br />import com.crystaldecisions.sdk.occa.report.definition.;<br />import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;<br />import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;<br />import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;<br />public class ReportSample {<br /> ReportClientDocument rptDoc=null;<br /> int fldTop=0;<br /> int fldWidth=1440;<br /> int fldHeight=400;<br /> int pageWidth=11500;<br /> ReportSample(){<br />  try{<br />   IEnterpriseSession oEnterpriseSession= CrystalEnterprise.getSessionMgr().logon("Administrator", "","zzzza","secEnterprise");<br />   IReportAppFactory oReportAppFactory = (IReportAppFactory)oEnterpriseSession.getService("", "RASReportService");<br />   rptDoc = oReportAppFactory.newDocument(java.util.Locale.ENGLISH);<br />   Table oTable = new Table();<br />   oTable.setConnectionInfo(getConnectionInfo("zzzzz","zzzz","zzz", "zzz"));//Connectin to oracle database<br />   oTable.setName("EMP1");<br />   rptDoc.getDatabaseController().addTable(oTable, null);<br />         String[] columnName={"EMPNAME"};<br />       Section dtlSection=(Section) rptDoc.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);<br />   int fldLeft=100;<br />   for (int i=0;i<columnName.length;i+)<br />   {<br />    <br />    dtlSection= (Section) rptDoc.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);<br />     try{<br />     FieldValueType fldValueType = FieldValueType.stringField;<br />     String javaDataType="String";<br />      add_db_field(<br />      dtlSection, <br />     oTable.getName()"."columnName<i>, <br />     fldValueType,javaDataType,<br />     fldLeft, fldTop, fldWidth, fldHeight);<br />     }catch(Exception e){<br />      e.printStackTrace();<br />     }<br />    fldLeft = fldLeftfldWidth;<br />   }<br />   <br />       <br />   try { <br />          //Create and set up the window.<br />          JFrame frame = new JFrame("ReportsViewer");<br />          frame.setTitle( "Crystal Reports Viewer");<br />          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);<br />          ReportViewerBean viewer = new ReportViewerBean();<br />          viewer.init( new String[0], null, null, null);<br />          IReportSource rptSource = rptDoc.getReportSource();<br />          viewer.setReportSource( rptSource );<br />          frame.getContentPane().add( viewer, BorderLayout.CENTER );<br />          frame.setSize( 700, 500 );<br />          frame.setVisible(true);<br />          viewer.start();<br />   }catch(Exception e)<br />    {<br />     e.printStackTrace();<br />    }</p><p>   }catch(Exception e)<br />   {<br />    e.printStackTrace();<br />   }<br /> }<br /> public ReportObject add_db_field(Section oSection, String field_name, <br />   FieldValueType oFieldValueType,String fldDataType,<br />   double x, double y, double w, double h)<br /> throws ReportSDKException<br /> {<br />  DBField oDBField = new DBField();<br />  oDBField.setName(field_name);<br />  oDBField.setType(oFieldValueType);<br />  FieldObject oFieldObject = new FieldObject();<br />  oFieldObject.setDataSource(oDBField.getFormulaForm());<br />  oFieldObject.setFieldValueType(oDBField.getType());<br />  IndentAndSpacingFormat indentSpacing = new IndentAndSpacingFormat();<br />  IStringFieldFormat stringFieldFormat = oFieldObject.getFieldFormat().getStringFormat();<br />  stringFieldFormat.setIndentAndSpacingFormat(indentSpacing);<br />  oFieldObject.getFieldFormat().setStringFormat(stringFieldFormat);<br />  rptDoc.getReportDefController().getReportObjectController().add(oFieldObject, oSection, -1);<br />  return oFieldObject;<br /> }<br />  public ConnectionInfo getConnectionInfo (String new_username, String new_password, String new_dsn, String new_database)<br /> {<br />  <br />      ConnectionInfo oConnectionInfo = new ConnectionInfo(); // Make a copy, don&#39;t change the original.<br />      PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();<br />      oPropertyBag1.put("QE_ServerDescription", new_database);<br />   oPropertyBag1.put("Database DLL", "crdb_oracle.dll" );<br />   oPropertyBag1.put("DSN", new_dsn);<br />   // Set new table logon properties attributes<br />   PropertyBag oPropertyBag2 = new PropertyBag();<br />   oPropertyBag2.put("Server", new_database);<br />   oPropertyBag1.put("QE_LogonProperties", oPropertyBag2);<br />   oConnectionInfo.setAttributes(oPropertyBag1);<br />   oConnectionInfo.setUserName(new_username);<br />   oConnectionInfo.setPassword(new_password);<br />   // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).<br />   oConnectionInfo.setKind(ConnectionInfoKind.CRQE);<br />   return oConnectionInfo;</p><p>  }<br /> public static void main(String[] args) {<br />  // TODO Auto-generated method stub<br />  new ReportSample();<br />  //String cmsName = "admin-42cdvir7e(2)";<br />  <br />  <br />  <br /> }<br /> </p><p>}<br /></p>

    <p>This issue can be  solved when you create the reports without needing to write any extra code.  I haven&#39;t tested this solution because I don&#39;t have any data to test it against.</p><p>First you want to make sure that you are using a UNICODE font which I&#39;m sure you are probably already doing.  Then to configure the "Right to Left" you can right click on any field and select "Format Text" or "Format Field".  You should see a "Paragraph" tab.  In there you can set the content to be "Left to Right" or "Right to Left".  The button on the right allows you to make this setting conditional on a parameter value or something like that.  I hope this helps. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

Maybe you are looking for

  • Illustrator CC2014 Error message "Alcid.dll is missing from your computer. etc."

    I have been experiencing a problem with Illustrator CC2014. This occurs after I get out of Illustrator and then attempt to open the software up the next morning. I get the following message; "The program can't start because Alcid.dll is missing from

  • PDF search for term with space yields term with hyphen

    Hi, I've encountered what seems to be an unpleasant problem in PDF searches, and am wondering whether it's known or has a solution. In words, the problem is that when I perform a PDF search for a term with a space I get results for the term with a hy

  • I can't see elementFormDefault=Qualified in the schema

    Hi, I am creating JAVA web services as follows: @WebService(serviceName="MySyncService", name="MySyncServicePortType", targetNamespace="http://www.abc.com/import") @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterS

  • Changing the color in AI file

    In Photoshop you can take a design, change the hue and make a total blue image a red one. See the image below.  This is an AI file.  So what I want to do is just change it from any color I want like you can do in Photoshop.  Is this possible? Thanks

  • What is the earliest version of Photoshop that can Update to CS3

    the old policy was from Version 1 with the release of CS3 Adobe has changed its policy on upgrading. from the Photoshop CS3 Beta FAQ >Adobe will not offer upgrade pricing more than three versions back on Photoshop CS3.