Catching arabic text + unicode in the servlet

Hi,
I am doing web project for the saudia arabia where user enters their information in the arabic text. So how do i get this information in unicode in the action class. I am using struts framework for the web application. Please suggest me some steps.
From,
N.D.Pradhan

Hello,
If "Arabic Transparent" is a valid font-family value, it should be quoted, as it contains white-space .
Single quotes must be used when using the "style" attribute in HTML (like style="font-family: arial, 'lucida console', sans-serif").
Hope it helps,
Arie.

Similar Messages

  • How to print Arabic text along with the English in smartform ( ECC6 version

    Hi All,
    our is ECC6 version, Non unicode, ABAP stack ( not dual stack )
    is it possible to print in Arabic language in the above version ?
    if yes, then please let me know how to print Arabic text and English text in the same smartfrom.
    i tried in the following procedures :
    1) i created standard text (SO10) in arabic language.
    i called in the smartform ( include text - i )
    langage AR
    but system throws error message saying, required language is not installed.
    2) if i use READ_TEXT function module.
    text getting printed in diff format but not in arabic.
    waiting for your replies..

    ECC6 and Non-Unicode? I think you'll need multiple code pages, I doubt there's a mixed Arabic/Latin1 available. And I don't think SAP supports new MDMP systems any more. If you need to support multiple languages you really need to go Unicode. It's probably easier to do the Unicode conversion than to try to support multiple code pages and you have to make the switch eventually.

  • Arabic text not showing properly (chat & presenter)

    Hi,
    We’ve two issues with Arabic text:
    1- In the chat window when you type a sentence (say
    السلام
    عليكم
    ورحمة الله it
    appears backward الله
    ورحمة
    عليكم
    السلام)
    2- When using Presenter in PowerPoint any Arabic word when
    exported appears in reverse and the letters disjointed.
    Thanks

    Hello, you can use this service http://www.awebfont.ir/convert/
    just type your text and click on "تبدیل" then copy and paste text into every program that not support Persian or Arabic language. this service support Farsi, Arabic, Pashto and Dari languages.
    More into: http://awebfont.ir/Persian-Glyphs-Converter

  • Arabic Text in TextInput in Flash Builder 4.5.1

    Hello,
    I am currently developing a mobile application that is supposed to work on both Android and iOS devices. I am supposed to display arabic text and also to take arabic text input from the user. While I was trying to display simple output and input components I faced a problem with the TextInput. Please note the following:
    -The TextInput component displays the arabic text in reversed order and the characters are disjoint.
    -The label component does not have this problem and it accepts and displays the arabic text correctly.
    -An embedded font was added
    -The problem exists on both IPad and Galaxy Tab however the IPad displays the text correctly while typing (before loosing the focus on the TextInput). On the other hand, the Galaxy Tab displays the text in a wrong way both while typing and on focus out. However, the suggested words (above the keyboard in the Galaxy tab) are shown correctly.
    Please check the snapshots below.
    From Ipad:
    Thank you.

    Here's the solution:
    The problem did not exist on an installation of Flash Builder on a spare MacBookPro.
    On my main computer (the one with the Flash Builder issue) I uninstalled and reinstalled Flash Builder 4.5 (then updated to 4.5.1). Creating an iOS Mobile Application now creates the correct code.
    I have no idea why it was creating dodgy code.
    The only difference with the new Flash Builder install is that SourceMate 3.0 is not installed yet. Perhaps something had gone wrong in the Adobe Updater when going from 4.5 to 4.5.1, who know...all speculation...anyhow it works now!

  • Editing Arabic text in iWeb

    I've entered some Arabic text into iWeb and don't seem to be edit it. Need I say more? It's behaving like a solid block (image perhaps?).
    This is the markup: <p class="paragraph_style_6">                          المكتبة العربية الإسلامية                                  <br /></p>
    And, yes, there are spaces before and after, which I can't get rid of either. Incidentally, or perhaps not, for some reason most of my paragraph styles are "4" but this is "6". It's supposed to be the same as the others, not sure why it's different nor how to change it.

    mustafa.allawati wrote:
    the letters "magically" started joining each other.
    Non-joining Arabic letters normally means you are trying to use a Windows Arabic font.  Instead use one of those that comes with OS X, like Geeza Pro.  It's a completely different problem than the OP's editing difficulty.
    I am curious how easy you find it to edit your Arabic text.  In the past iWeb had such serious bugs regarding cursor action and formatting issues that it was normally advised that people use a different app.

  • Arial Unicode Arabic text in Flash CS4

    Hi,
    I am facing a strange issue. I have a flash file where Arabic text is written using Arial Unicode MS and is displayed properly, but when i try to update the text field with new arabic content, the words split up into characters.
    The image below shows the issue:  Both original as well new content is in the same text field but they are displayed differently.
    Please suggest as to what should be the possible solution for this. P.S. I cannot change the font family, it has to be Arial unicode MS.
    Thanks,
    Ayush

    As far as I know the TLFTextField is the only class currently provided for native support of right to left text.  It is only supported by players that were developed concurrent with its arrival, which might account for some not seeing what they expect.  From what I have heard there are discrepancies with its performance as well, wherein if you do not need to use it, stick with the classic TextField.

  • Flash CS 4 - Arial Unicode Arabic text

    Hi,
    I am facing a strange issue. I have a flash file  where Arabic text is written using Arial Unicode MS and is displayed  properly, but when i try to update the text field with new arabic  content, the words split up into characters.
    The image  below shows the issue:  Both original as well new content is in the same  text field but they are displayed differently.
    Please  suggest as to what should be the possible solution for this. P.S. I  cannot change the font family, it has to be Arial unicode MS.
    Thanks,
    Ayush

    Sorry Fahran - not sure I understand. Are you saying that all connections cause the same issue in CR 2011 with SP 9?
    SP 9 can be downloaded here:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htmhttp://search.sap.com/notes?id=0002015092&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303032303135303932
    - Ludek
    http://search.sap.com/notes?id=0002015092&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303032303135303932

  • How can I fix my Safary navigator (and other aplications) when I'm receiving the arab text code?

    Well, I'm receving constantely the arab text code by mail or on Twitter app (by IOS)  and all aplications crashes.
    Sometimes I'm surfing and the god dammit code is in the homepage source and crash the aplications. The same thing at IOS.
    I'm without ideas about guys.
    Any help?

    Mail unexpectedly quits when viewing certain messages

  • Arabic text running the wrong way

    I need to place a series of words, in Arabic, in an array.
    When I copy the words from the original text document to the script
    window, the order of the letters reverses from right-to-left to
    left-to-right, so basically all the Arabic is being written
    backwards in Flash. Could anyone give me some guidance on how to
    deal with this? Many thanks in advance.

    Just as a follow-up, here (why didn't I think of this
    earlier?) is how to reverse the letter order of a word using
    ActionScript only: (1)Convert the word string to an array.
    (2)Reverse the array. (3)Convert the array back to a string.

  • We are creating an Arabic language label using AI-CC, Is there a way to import the UTF-8 arabic text w/o coruption ?

    we are creating an Arabic language label using AI-CC, Is there a way to import the UTF-8 arabic text w/o coruption ?

    You can try this:
    http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html
    It's possible to install another language on top of the language you already use. You need to switch your system's language to be able to use the other one.

  • What can be done to ensure that the Arabic text normally copied from Word to InDesign?

    What can be done to ensure that the Arabic text normally copied from Word to InDesign?
    At Word - normal Arabic text.
    At Indesign - wrong.

    See copy/pasted hebrew text is backwards and/or search the forum for "Arabic" (it has been asked numerous times before).

  • Yesterday Colloquy crashed on my iPad after an Arabic text string was pasted into the IRC channel that I was on. Another user using Linkinus was also affected. As I understand it, this vulnerability has to do with Webkit. What is being done about it?

    Yesterday Colloquy crashed on my iPad after an Arabic text string was pasted into the IRC channel that I was on. Another user using Linkinus under Mountain Lion on her Macbook Pro was also affected. As I understand it, this vulnerability has to do with applications that use Webkit. What is being done about it? Can we expect security updates for Mountain Lion and iOS 6 soon?

    AFAIK, there has not been an update regarding this issue as yet.
    Rendering bug crashes OS X, iOS apps with string of Arabic characters (Updated) | Ars Technica
    You can send feedback to Apple >  Apple - Mac OS X - Feedback

  • How to get the Arabic text to speech on N8 ?

    How to get the Arabic text to speech on N8 ?

    Unfortunately it is not currently an available option:http://www.nokia.com/global/support/text-to-speech-s60-32-downloads/
    Happy to have helped forum with a Support Ratio = 42.5

  • Typing Arabic text in the TextInput Dynamically

    Hi There...
    I have a problem with writing arabic text in the TextInput Dynamically.
    when i run the swf file i can write arabic in the search textinput, but when i try it online it write symbols and mad characters just like these "  E - E H /  E - E / "
    so plz and solutions
    thanx

    there.
    thank you  ипотпал-лаптопов
    really i was helpfull
    but plz i want ask you another qestion
    when i press enter it presses the text in the search form
    i need to put the text from inputtext into the advanced form (php)
    i used:
    Header 1
    var tfSearch:TextField;
    tbSearch.text="Search..";
    // Create listener object.
    var tiListener:Object = new Object();
    tiListener.handleEvent = function(evt_obj:Object) {
        if (evt_obj.type == "focusIn") {
            tbSearch.text = "";
            trace("Input has focusIn");
        if (ev_obj.type == "change") {
            tbSearch.text = "";
            trace("Input has changed");
        if (evt_obj.type == "enter") {
            getURL("index.php?searchword="+tbSearch.text+"&task=search&option=com_search", "POST");
            doSubmit();
    // Add listener.
    tbSearch.addEventListener("focusIn",tiListener);
    tbSearch.addEventListener("enter",tiListener);
    tbSearch.addEventListener("change",tiListener);
    function doSubmit() {
        userData = new LoadVars();
        userData.searchword = tbSearch.text;
        userData.Itemid="8";
        userData.task = "search";
        userData.option = "com_search";
        //userData.send("register.php","","post");
        userData.send("index.php","","POST");

  • Null values passed into the servlet

    Hi all,
    I keep getting null values for all the params that I pass into the servlet i.e. sqltype, producttype, process, instance etc....I have attempted to print some of them out on the screen but I keep getting the 'NullPointerException' error message...can anyone tell me what it is that I have down wrong in the below code?
    If I run the servlet with method calls that have hardcoded arguments in them it works but not when I pass in the params from the URL...I am absolutley puzzled!
    Help!
    package blotter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Date;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import com.db.util.WriteToLogFile;
    import blotter.cache.*;
    Servlet to extract an object that has already been placed
    in the cache by GetBondPrices servlet from the cache.
    public class ExtractSecurityObject extends HttpServlet
         String sqlType = "";
         String productType = "";
         String instance = "";
         String process = "";
         String asOfDate = "";
         String currencyCode = "";
         String curveId = "";
         String results = "";
         private String debug;
    private PrintWriter out;
         private WriteToLogFile logFile;
         // called when servlet first initialised
         public void init(ServletConfig config) throws ServletException
              super.init(config);
         // method called for each get request
         public void doGet( HttpServletRequest request, HttpServletResponse response )
                   throws ServletException, IOException
              String toWrite = " ";
    // Get the object identifier from the parameters passed in
              sqlType = request.getParameter("sqltype");
    productType = request.getParameter("producttype").toUpperCase();
              instance = request.getParameter("instance");
              process = request.getParameter("process");
              asOfDate = request.getParameter("asofdate");
              curveId = request.getParameter("curveid");
              currencyCode = request.getParameter("ccy").toUpperCase();
              out.println(currencyCode);
              if ( request.getParameter("debug") !=null)
                   debug = request.getParameter("debug");
              else
                   debug ="";
              // set the mime type to html
    response.setContentType( "text/html" );
    out = response.getWriter();
    out.println("<HTML>");
              try
              // write some parameters to a log file
              toWrite = toWrite + "<li>" + getServletInfo() + " at " + new Date() + " " + sqlType + " " +
                        productType + " " + instance + " " + process + " " + asOfDate + " " + curveId + " " +
                        currencyCode;
         CachedObject o1 = (CachedObject)CacheManager.getCache("EB_" + currencyCode + productType + asOfDate);
    if(o1 == null){
              CacheSecurityObject cso = new CacheSecurityObject();
                   if((request.getParameter("sqltype") == null) && (request.getParameter("instance") != null)){
    results = (String)cso.putSecurityinCache(null, request.getParameter("producttype"), request.getParameter("instance"), request.getParameter("process"), request.getParameter("asOfDate"), request.getParameter("curveId"), request.getParameter("currencyCode"));
    //results = (String)cso.putSecurityinCache(null, "yc", "frafu", "official", "20011105", "baceod", "sek");
    out.println(results);
                   } else {
    //results = (String)cso.putSecurityinCache("bondtypes", "bond", null, "official", "20011105", "baceod", "eur");
    results = (String)cso.putSecurityinCache(request.getParameter("sqltype"), request.getParameter("producttype"), null, request.getParameter("process"), request.getParameter("asOfDate"), request.getParameter("curveId"), request.getParameter("currencyCode"));
    out.println(results);
              else{
                   out.println(((String)o1.object).toString());
    // general catch for all exceptions
              catch(Exception exception)
                   out.println( "Exception: The item that you requested was not found in the cache" + "<BR>" );
                   toWrite = toWrite + "Exception : " + exception.getMessage() + "\n" ;
              finally
    // write to logfile
              logFile = new WriteToLogFile();
              logFile.setSourceDirName("blotter");
              logFile.setQuery(request.getQueryString());
              logFile.setServletPath(request.getServletPath());
              if (toWrite!=null)
              logFile.writeLog(getServletInfo(),toWrite);
    out.println("</HTML>");
              out.close();
         // need the class name for log file
         public String getServletInfo()
         return this.getClass().getName();
    }

    That section of the code references a cache to extract an item that has been requested by the user. If the item is not in the cache i.e. if(o1 == null) then it will call a class that generates that object and places that object into the cache. The second time the user makes the same call then they will be handed a cached copy of that object which is aimed to make the whole servlet call faster.
    That section of the code works fine coz I have tested that separately. It is the reading in of the arguments that is causing the problem.

Maybe you are looking for

  • Using insert command in NVL function

    How can we use insert command in a NVL function exapmle : INSERT INTO employee VALUES ( (NVL ( (SELECT emp_id FROM employee WHERE emp_name LIKE 'Test'), (insert into employee values((select max(emp_id)+1 from employee),'Test'))))); I mean i will chec

  • Excel printed to Cutepdf writer

    I have an excel document with a graph.   When I print the document to CutePDF writer and open the PDF with Adobe reader 8 or 10.1.4 the graph its just a blank sheet.   Text works fine.   Has anybody advise, please?

  • Unicode Enabling

    Greetings, We are going through an upgrade from 46C to ERP 5.0. Will we be able to unicode enable individule ABAP programs without setting the system to unicode enabled?  Thanks in advance for your assistance. Regards, Jason

  • Cancel accrual of Rebate Agreement

    Hi My client has a requirement. He wants to cancel accruals for a rebate agreement because the accruals were done by mistake. He wants to cancel accruals and delete the rebate agreement. I read somewhere that it can be done by deleting the condition

  • SAP connected fax machine issue

    Hi All , Need to know where the fax machine settings are made . Issue is  one automatic cover page is coming with To address as SAP while sending fax . Need to know where we can disable that. Thanks & Regards , Sabu.