Unescaping Characters (URGENT and IMP)

Hi
I have an urgent and pressing need to solve this.
I am reading the DB, a string which is basically an HTML page, and contains single and double quotes.
sc_html is the JSP variable name.
Now I have a javascript function being created through the JSP, and I want to assign document.forms[0].sc_html.value = "<%=sc_html%>";
But due to the fact that sc_html contains both single and double, I am getting javascript stuff.
It is very pressing. Solution would be appreciated.
Thanx and Regards
Aruneesh

just replace " (double quote) and replace it with \" (backword slasht then double quote) in string sc_html

Similar Messages

  • SAP CRM Projects Implemented or Done in India Required Urgent and Important

    hi, friends and experts
          I wish u could send me SAP CRM Projects done in india with information including, Clients Name Operations, Duration and Location as soon as possible. Its urgent and important. Pls send the details.
                                                      thanking you
                                                             with regards
                                                       PRAVEEN

    There are several potemtial root causes.
    + NetWeaver Mobile/DOE is not setup
    + DOE -> CRM should be Trusted RFC
    + CRM application user ID should be in DOE

  • Scripts for exp and imp in linux

    please give me some links for exp and imp tables peridical bactch script in oracle 10 R2 over RHEL 4.5.

    user13653962 wrote:
    please give me some links for exp and imp tables peridical bactch script in oracle 10 R2 over RHEL 4.5.try this.. change the same script for your environment
    $ crontab -l
    00 22 * * * sh /u01/db/scripts/testing_user1.sh
    $ cat /u01/db/scripts/testing_user1.sh
    . /home/oracle/TEST1.env
    export ORACLE_SID=TEST1
    export ORA_USER=dbdump
    export ORA_PASSWORD=dbdump
    export TNS_ALIAS=TEST1
    expdp $ORA_USER/$ORA_PASSWORD@$TNS_ALIAS tables=YOUR_tables_NAMEs  dumpfile=TEST_`date +'%Y-%m-%d`.dmp directory=YOUR_DUMPDIR logfile=TEST_`date +'%Y-%m-%d`.logif you need for original export change the exp command,
    exp username/password tables=table_name1,table_name2,etc... file=your_file_name log=your_log_file_name

  • Details:  i can not buy any thing from the app store and any thing from in side any games pls fix my problem urgent and as soon

    Details:
    Hi i can not buy any thing from the app store and any thing from in side any games pls fix my problem urgent and as soon
    Note this is second email pls answer and fix my problem
    <Email Edited by Host>

    These are public forums, you are not talking to iTunes Support here (most of the people here, including myself, are fellow users) - I've asked the hosts to remove your email address from your post
    If you are getting a message to contact iTunes support then you can do so via this page and ask them why the message is appearing (we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • Datapumps and Imp/Exp

    what is the primary difference between datapumps and imp/exp utilities?
    Thank you

    The 10g Utilities manual lists the new capabilities that Data Pump provides over imp/exp:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#i1010248
    That is a pretty complete list. The original exp/imp chapter mentions two things that should be fairy obvious:
    You need to use the original imp to import dump files generated by the original exp.
    You need to use exp to generate files that can be read by imp on earlier (pre-10) versions of Oracle.
    Last but not least, many of us have become accustomed to writing to and reading from named pipes with exp and imp. This is a popular way to compress or pipe across rsh/ssh on the fly. Unfortunately, this is impossible with Data Pump! I would say that is among the most strenuous complaints I hear about Data Pump.
    Regards,
    Jeremiah Wilton
    ORA-600 Consulting
    http://www.ora-600.net

  • I have an ipad 2 with ios 6 and i want to download ibooks using the itunes on my laptop .but the ibooks is compatible with ios 7 or later.i need ibooks urgently and how do i download the compatible version

    i have an ipad 2 with ios 6 and i want to download ibooks using the itunes on my laptop .but the ibooks is compatible with ios 7 or later.i need ibooks urgently and how do i download the compatible version in my windows laptop.

    Download the iBooks app to iTunes on your computer. Once it's downloaded, go to the Purchased section in the App Store on the iPad, select iBooks and you should be prompted to download a compatible version.

  • Using expdp and impdp instead of exp and imp

    Hi All,
    I am trying to use expdp and impdp instead of exp and imp.
    I am facing few issues while using expdb. I have a Job which exports data from one DB server and then its imported so another DB server. Both DB servers are run on separate machines. Job runs on various clients machine and not on any of DB server.
    For using expdp we have to create DIRECTORY and as I understand it has to be created on DB server. Problem here is Job can not access DB Server or files on DB server. Also dump file created is moved by Job to other machines based on requirement( Usually it goes to multiple DB server).
    I need way to create dump files on server where job runs.
    If I am not using expdp correctly please guide. I am new to expdp/impdp and imp/exp.
    Regards,

    Thanks for quick reply ..
    Job executing expdb/impdp runs on Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    ORACLE server Release 11.2.0.2.0
    Job can not access the ORACLE server as it does not have privileges (In fact there is no user / password to access ORACLE server machines). Creating dump on oracle server and moving is not an option for this JOB. It has to keep dump with itself.
    Regards,

  • Conversions between character sets when using exp and imp utilities

    I use EE8ISO8859P2 character set on my server,
    when exporting database with NLS_LANG not set
    then conversion should be done between
    EE8ISO8859P2 and US7ASCII charsets, so some
    characters not present in US7ASCII should not be
    successfully converted.
    But when I import such a dump, all characters not
    present in US7ASCII charset are imported to the database.
    I thought that some characters should be lost when
    doing such a conversions, can someone tell me why is it not so?

    Not exactly. If the import is done with the same DB character set, then no matter how it has been exported. Conversion (corruption) may happen if the destination DB has a different character set. See this example :
    [ora102 work db102]$ echo $NLS_LANG
    AMERICAN_AMERICA.WE8ISO8859P15
    [ora102 work db102]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 25 14:47:01 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    TEST@db102 SQL> create table test(col1 varchar2(1));
    Table created.
    TEST@db102 SQL> insert into test values(chr(166));
    1 row created.
    TEST@db102 SQL> select * from test;
    C
    ¦
    TEST@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [ora102 work db102]$ export NLS_LANG=AMERICAN_AMERICA.EE8ISO8859P2
    [ora102 work db102]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 25 14:47:55 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    TEST@db102 SQL> select col1, dump(col1) from test;
    C
    DUMP(COL1)
    ©
    Typ=1 Len=1: 166
    TEST@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [ora102 work db102]$ echo $NLS_LANG
    AMERICAN_AMERICA.EE8ISO8859P2
    [ora102 work db102]$ exp test/test file=test.dmp tables=test
    Export: Release 10.2.0.1.0 - Production on Tue Jul 25 14:48:47 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in EE8ISO8859P2 character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P15 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table                           TEST          1 rows exported
    Export terminated successfully without warnings.
    [ora102 work db102]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 25 14:48:56 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    TEST@db102 SQL> drop table test purge;
    Table dropped.
    TEST@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [ora102 work db102]$ imp test/test file=test.dmp
    Import: Release 10.2.0.1.0 - Production on Tue Jul 25 14:49:15 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in EE8ISO8859P2 character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P15 character set (possible charset conversion)
    . importing TEST's objects into TEST
    . importing TEST's objects into TEST
    . . importing table                         "TEST"          1 rows imported
    Import terminated successfully without warnings.
    [ora102 work db102]$ export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15
    [ora102 work db102]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 25 14:49:34 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    TEST@db102 SQL> select col1, dump(col1) from test;
    C
    DUMP(COL1)
    ¦
    Typ=1 Len=1: 166
    TEST@db102 SQL>

  • How to test the Siebel Applications ? (very urgent and important)

    **Hi Pals,**
    **I am suresh from Noida, I work for GLS in Testing department.Presently we have a project of Siebel Analytics (OBIEE).We hav to test the siebel applications now.I kindly request u all to clarify my doubts regarding this.**
    **1.What is Siebel or OBIEE testing ?**
    **2.How to test these applications ?**
    **3.Basic process of Siebel testing ?**
    **4.Tools Used to test these applications ?**
    **5.What is STA (Siebel Testing Automation) ?**
    **6.Where can I find the usefull documents relating to this.**
    **Help me out guys, it's very important and urgent.I will be very much thank full to u all if u do the same.....Anticipating a quicker response.**
    **Thank u.**

    Welcome to the [top 10|http://forums.oracle.com/forums/thread.jspa?messageID=3928667#3928667]!
    Cheers,
    C.
    PS: [http://catb.org/~esr/faqs/smart-questions.html]

  • Arabic characters.URGENT

    hi all i am trying to read arabic characters from an html page, store into mysql database then retrieve them.
    my broblem is that i retrieve them as english characters although i have set my encoding scheme to Cp1256 (arabic windows).Please help me.
    here are the two test JSPs i use
    ar1
    <%@ page session="true" import="java.util.*,java.sql.*,Orders.Cust_CartBean,pkgAdmin0.Item,Orders.CustomerBean,pkgAdmin0.DBConnectionManager"contentType="text/html;charset=Cp1256"%>
    <html>
    <body>
    <form method="post" action="/DeCom/ar2.jsp">
    <input type="textbox" name="inp" value="">
    <input type="submit">
    </form>
    </body>
    </html>
    ar2
    <%@ page errorPage="ErrorPage_e.jsp"
    session="true"
    import="java.util.*,java.sql.*,Orders.Cust_CartBean,pkgAdmin0.Item,Orders.CustomerBean,pkgAdmin0.DBConnectionManager"contentType="text/html;cha
    rset=Cp1256"%>
    <html>
    <body>
    <%
    String req = request.getParameter("inp");
    out.println("<p><b>Request returned: " + req + "<b></p>");
    DBConnectionManager db = DBConnectionManager.getInstance();
    Connection conn = db.getConnection(db.DbType,1500);
    Statement stmt = conn.createStatement();
    stmt.executeUpdate("DELETE FROM AR_TEST");
    stmt.executeUpdate("INSERT INTO AR_TEST VALUES('" + req + "')");
    ResultSet rs = stmt.executeQuery("SELECT AR_STRING FROM AR_TEST");
    while (rs.next()) {
    out.println("<b> Returned as string from database as: " + rs.getString(1) + "<b>");
    rs.close();
    stmt.close();
    %>
    </body>
    </html>

    Hi,
    I suggest that you can pull out the Arabic string from the
    database in the plain text file and see if the result is ok.
    If yes, you may transfer on the JSP. If not, treat it as
    unicode but it is more annoying in the process. I mean that
    save the String in unicode form \u0123\u1345\uaabc . something
    like this . About the Internationalization, you may consider the Java Internationlization.
    good luck,
    Alfred Wu

  • Local characters urgent

    Please help,
    using jdev10g ADF BC & JSF, I've switched to mac os x from windows, and developed a few apps only to discover that they don't support local characters (croatia), so I've looked on my windows machine and found out that in tools -> preferences -> environment I have cp1250 for Encoding, and on my Mac I have windows-1250. So at first I thought it would be enough to add <default-locale>hr<default-locale> in web.xml but it didn't help. Then I've opened project properties and changed the encoding to cp1250 rebuild and it also didn't help. I've copied project to windows machine and tried to rebuild with encoding cp1250 and it also didn't help. PLEASE IS IT POSSIBLE TO MAKE THIS WORK SO I DON'T HAVE TO MAKE ALL THIS PROJECTS AGAIN FROM SCRATCH!?!?! I NEED TO DEPLOY APP BUT IT IS NO GOOD WITHOUS SUPPORT FOR LOCAL CHARACTERS.
    Thanks in advance,
    Tomislav.

    To all intents and purposes, cp1250 and Windows-1250 are the same character set.
    When you switched to UTF-8, how did you do this? Did you just change the 'Encoding' setting in the 'Environment' section of the preferences dialog? Or, did you actually find all the occurrences of cp1250/windows-1250 in your project and replace them with UTF-8? Although you've changed the project encoding, you may still have e.g. jspx files that contain a line like:
    <jsp:directive.page contentType="text/html;charset=cp1250"/>When you say that your apps 'don't support local characters', what exactly do you mean? Is it displaying the characters incorrectly, or is the display correct but input fails?
    If you open your application in a browser, what does the browser report as the character encoding? (In Firefox try View -> Character Encoding and check which is ticked, in IE try Right-click -> Encoding).

  • Invalid characters (URGENT please)

    Hello,
    I have two independent systems where in one of the systems users maintain characters like (Á É Í Ó Ú Á É Í Ó Ú Ä Ë Ï Ö Ü….etc). I am not sure how many different type of characters users maintain but I want to populate all of these in the master data.
    Because I do not know all the Special characters, I cannot mention all of them in RSKC. Is there any functional module that converts special characters like mentioned above in to English? ALTERNATIVELY, is there any other work around to sort it out
    I cannot use ALL_CAPITAL in RSKC as well.
    Thanks and Regards,
    Harish Mulaka

    Apparao,
    We created a Function Module with this code and just call it in the Tranfer Rules for the specific InfoObject with Invalid Characters issue. It replaces any invalid character by " " (space).
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_VALUE)
    *"     REFERENCE(I_INFOOBJECT) TYPE  RSD_IOBJNM
    *"  EXPORTING
    *"     VALUE(O_VALUE)
    DATA: length       TYPE I,
           index        TYPE I,
           current_char TYPE C,
           result(60)   TYPE C,
           infoobject   TYPE RSD_IOBJNM.
    CLEAR: result,
            infoobject.
    MOVE I_VALUE      TO result.
    MOVE I_INFOOBJECT TO infoobject.
    TRANSLATE result TO UPPER CASE.
    length = strlen( result ).
    index  = -1.
    DO length TIMES.
      index        = index + 1.
      current_char = result+index(1).
      CALL FUNCTION 'RSKC_CHAVL_OF_IOBJ_CHECK'
       EXPORTING
        I_CHAVL            = current_char
        I_IOBJNM           = infoobject
      I_S_COB_PRO        =
      I_T_COB_PRO_CMP    =
       EXCEPTIONS
        CHAVL_NOT_ALLOWED  = 1.
      IF SY-SUBRC <> 0.
       MOVE ' ' TO result+index(1).
      ENDIF.
    ENDDO.
    MOVE result TO O_VALUE.
    ENDFUNCTION.
    A sample call:
    CALL FUNCTION 'ZFM_ELIMINATE_INVALID_CHARS'
        EXPORTING
          I_VALUE      = TRAN_STRUCTURE-0MATERIAL
          I_INFOOBJECT = '0MATERIAL'
        IMPORTING
          O_VALUE      = RESULT.
    Hope it helps.
    Regards,
    Luis

  • Characters y and b appear when reading a text file

    The vi shown in the picture opens a text file from hard drive with "Open/Create/Replace File" and with "Read from Spreadsheet File".
    Then the vi displays the text in the respective indicators. 
    In both indicators, there is a y and b that appear as the very first first characters.
    It's not exactly a y and b. The y has two dots over it and the stem of the b hangs low, a non-English script. 
    In Word and Notepad these charcters don't show up. The first character is a zero as I originally wrote. 
    The text file was originally created in Excel and then saved as unicode text. 
    From whence do these funky letters come? and how do I get them to leave? 
    Also, it looks like the text in both indicators is adding a blank line after each line. That doesn't show up Notepad or Word either. 
     

    Carmen92126 wrote:
    The text file was originally created in Excel and then saved as unicode text.
    There's your problem: unicode.  You might want to check out this quick thread: Config file "byte order mark"
    Yes, by saving as Unicode, you have a couple of extra bytes that most text editor know to ignore.  But LabVIEW just gives you the raw data.

  • Problems querying  French Characters like 'Œ' and 'OE'

    I have a problem when i query a string containing the 'Œ' i want that ORACLE FORMS find also the string containing 'OE' and 'Œ' because they are the same in french.
    I dont want to code those in the pre-query triggers because i have around 30 forms with a lot of string field containing those characters
    Do you have any solution.?
    thank you for your reply

    Hi Corey
    To answer your questions I am on windows 7 IE 8 and also tried in firefox 3.6
    backend is windows 2000 / IIS 6 / Coldfusion 8
    I am able to enter the characters in the dialog box but during the save they are altered
    I created a basic test page with nothing but the following code
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ice="http://ns.adobe.com/incontextediting">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>test</title>
    </head>
    <body>
    <div ice:editable="*" >
      <p>Test test</p>
    </div>
    </div>
    <script src="/includes/ice/ice.js" type="text/javascript"></script>
    </body>
    </html>
    saved it as test-characters.cfm (coldfusion page) and tested it out
    problem was still there however when I save the page as a .html file and test it out the problem is no longer present
    So the problem seems to only occur when using .cfm pages (even if there is no cf code on them)
    I am going to send you a private message with access to my test pages in case your inclined to take a look
    Thanks for you help so far

  • Issue Regarding Latin Characters - Accents and Symbols

    I should first introduce myself - I'm a first-year student of database administration. Right now I'm learning the basics of java language.
    The problem I'm facing here did not happen in past versions of JDK (Last one I used was 1.5.0 Update 6), but now, with version 1.5.0 Update 9 installed, it just won't go away.
    This image pretty much illustrates my entire problem. Characters with accents and other latin symbols are not being displayed properly.
    At first I thought it could be a JCreator-related problem, so I tried to manually compile and run the code using the command prompt. No luck. I also tried playing around with Windows's Regional language setting, even installed additional language packs, but nothing worked.
    I tried reinstalling JDK and JRE, but the problem persists. I've looked around for answers, but nothing effective came up. I might be missing something really obvious, so excuse my ignorance, but can anyone help me with this?
    Thanks in advance.

    You should not use non-ASCII characters in source code because it's not portable; compilers in different locales will produce different output. In the Sun "javac" compiler there is command line flag you can use to set the input file encoding, but that likely doesn't help you since you are using an IDE. Perhaps a forum specific to your IDE can provide better help.
    The portable way to write the program would be using "unicode escapes," for example you would write "\u00e9 \u00e1 \u00e0 \u00f3 \u00f2 \u00e3 \u00f5 \u00e7" instead of "� � � � � � � �". There is a command line tool to make this conversion automatically, and I suspect some IDEs too have support for this conversion.

Maybe you are looking for