Xmlelement and accented character,

hi,
i am using xmlelement to generate a xml file, but if a string contains an accented character it is not escaped, so in the file i obtain 'à' and not '& agrave;' (or & #224; ).
but if there is a '>' it is converted in '& gt;'
can anybody help me?
thanks
Edited by: user515918 on 9-lug-2009 6.42

maybe this
SQL> select xmlelement(noentityescaping e,regexp_replace(asciistr('A smàll samplé'),'\\(.{4})','&#x\1;')).getstringval() xml from dual
XML                                                                            
<E>A sm&&#35;x00E0;ll sampl&&#35;x00E9;</E>  ?

Similar Messages

  • JPI 1.6 and accented character ( or french keyboard )

    Hi all,
    Since we migrate from JInitiator 1.3.22 to JPI 1.6 we corrected some of our bugs : Oracle Forms runs on Vista and 64-bits OS, images are way faster and clearer. Although, users are not able to type any accented character, à è ô ï ç for example. I search through the Application server configuration files without any success.
    Someone has any idea ?
    We use Forms 10g, Oracle database 10.2.0.3, Oracle Application Server 10g and JPI 1.6. Accented characters were fine on JInitiator.
    Thank you

    This could be bug / patch no. 5526175. It's an issue with Oracle's applet classes and the Sun JRE. We encountered this bug with Forms 10.1.2.2.0 and JPI 1.5 and applied the patch mentioned above. In 10.1.2.3.0 (patch set 3) this is supposed to be fixed, though we didn't test this specific case yet. So just upgrade to OAS / iDS 10gR2 patch set 3 or ask Oracle Support for a patch for your specific version.
    edit:
    sorry, the bug no. is 5023945.
    the patch no. is 5526175 (one-off for 10.1.2.2.0)
    Message was edited by:
    leidner

  • XMLELEMENT and suppress character conversion for brackets etc...

    Hi,
    I want use XMLElement, XMLAgg to create a large XML-file from database.
    However I have the problem that I already SELECT valid XML chunks from
    the database. I this case I don't want a character conversion,e.g.
    open angle bracket (<) becomes &lt;
    quotation mark (") becomes &quot;
    and so on.
    Is it possible with my Oracle 9.2 ?

    Hi,
    ok finally I think I found now a solution for my problem which is:
    printing a large XML file in one transaction within sqlplus.
    I let a function create the XML and write it to a CLOB variable.
    In sqlplus I do simply
    -- 1 GB is acceptable
    SET LONG 1073741824;
    SPOOL myspoolfile
    SELECT MYFUNTION FROM DUAL;
    I still have to proof it with mass data.

  • How to use an accented character in a mnemonic ?

    Hi all,
    I'd like to set the mnemonic of a component (no matter what kind of component) to an accented character such as � / � / � / � / � / �.
    but with setMnemonic(char c) it doesn't work.
    with setMnemonic(int code), I can't find a virtual key for any of those character in class KeyEvent (KeyEvent.VK_� ??).
    Has anyone an idea ?
    Thanks.
    Have a nice week-end.
    Herbien
    PS : I know it seems strange to set a mnemonic to a accented character, but I must implement an existing C++ application in Java, and the application must mostly be the same. The users of this application are used to work with the keyboard..... :-(

    girija_pathak wrote:
    How can I know which is the last character? and How to handle it?You use the DUMP() function in SQL in order to see the actual content of the column.
    E.g.
    select DUMP(bac_person_id) from bkmap_personid_stg where bac_person_id like '%27136317%'
    The decimal character values will be displayed - enabling you to see where and what control characters characters exist in the string value for that column.

  • Can't delete file or directory with accent character

    I have a directory within my iTunes folder structure that has an accent character in it which I am trying to delete.
    If I do an ls on the directory I get this:
    ls -al ls: Radiů Disney_ Jams Vol. 2: No such file or directory
    total 0
    drwxr-xr-x 3 scott staff 102 Jul 29 13:16 .
    drwxrwxr-x@ 21 scott staff 782 Jul 29 13:24 ..
    I've tried rm -rf * but after that I attempt an ls -l I still get: ls: Radiů Disney_ Jams Vol. 2: No such file or directory
    Any way to delete the directory with offending filename? If I attempt to delete the parent directory I get a "Directory not empty message"

    macwiz,
    I tried the SMB path as well but the files were acting as though they were written with indelible electrons. I remembered that the files were originally created and deposited into the folder from a windows machine. I logged into my folder from the same machine and was able to delete them without any problem.
    I appreciate your help and have saved your suggestions (I'm sure they'll come in handy).
    cheers

  • Accented character applescript to unix

    My applescript writes a list of file names to a text file for future handling by unix script. If the name contains an accented character (say sacute U0015b) that character will be represented in the text file by a decomposed form (that is 3 bytes, one for ascii s, and two 0xc2b4 for acute accent in UTF-8 encoding). This is different from standard UTF-8 representation for sacute which is two bytes only 0xc59b.
    Now shell commands do not take decomposed representation at all so I'm stuck. Two lines of attack I can think of (assuming I understood the problem correctly) :
    a) force AppleScript to output file names in real UTF-8 not decomposed. How?
    b) transcode decomposed form to true UTF-8. Can textutil handle that? If yes what is IANA_name | NSStringEncoding for that decomposed encoding? I cannot find it. If not what will?
      Mac OS X (10.4.2)  

    Hi Big Burro,
       I wouldn't mind knowing the answer to this myself. Let me provide some background I learned recently. Jun T. recently observed that the decomposed form is the required format for HFS Plus volumes, as specified this technote that he found, Technical Note TN1150: HFS Plus Volume Format. His link, which I reproduced here, points to the "Unicode Subtleties" anchor where the decomposed form is discussed. As a consequence, I'm not sure that you're going to be able to specify that your utilities report in a different format because they're just accurately reporting what they see.
       Also, I don't know what to tell you about conversion. It's common knowledge that character encodings are ambiguous but I didn't think that this "decomposed" form was what they meant by that. I'll have to defer to someone more knowledgeable about conversions. At least when they join in you'll have read the technote.
    Gary
    ~~~~
       You can't have everything. Where would you put it?
             -- Steven Wright

  • How to define shortcut for accented character?

    Does anybody know of an easy way to define a keyboard shortcut to procude an accented character?
    More specifically, I would like to define Alt-O to produce ō .
    I have heard of Ukelele, but that seems a it complicated to me.
    Best,
    Gabriel.

    There are several approaches to using diacritical marks in general, your case included:
    - to write currently in a certain language, which uses that char or those chars; e.g. ā (a macron) is frequent in Lithuanian or, as in your case, to transcribe Japanese words (or Latin vowel length, for example)
    - to write occasionally, e.g. in a linguistic paper written in English, and you have to quote, from time to time, something like in silvā multae bestiae sunt (Latin) ‘there are many beasts in the forest’.
    a macron is available if you activate Lithuanian keylayout, but for sure you are not familiar with it. The alternative is to use a keylayout for linguists or dialectologists like my US Academic, which is exactly for such use. You mau find this incomfortable though, if you frequently need this, and using dead keys may be cumbersone (in fact, it isn’t, is an issue of practising it).
    Another solution is indeed UKELELE, you may create your custom keylayout, perhaps of Programmers type: option/alt key + a = ā [a macron] etc.
    There is a lot of theory on this issue, see my web pages (in English)
    http://www.unibuc.ro/e/prof/paliga_v_s/soft-reso/

  • When my Firefox language settings are fr_fr or fr_ca Firefox does not display the e with acute accent character correctly when it is displayed in a javascript alert box. However, it does display it correctly when my language settings are just fr. Please t

    Firefox does not display the e with acute accent character correctly from a javascript alert box when my browser language settings are fr_ca or fr_fr. However, it does it correctly when my browser language setting is fr. How do i get it to display e with acute accent and other iso8859 characters correctly in a javascript alert box when my browser language settings are fr_fr and fr_ca?
    == This happened ==
    Every time Firefox opened

    Use Unicode (UTF-8) for those characters.
    Then you will always be sure that they are displayed correctly.

  • How to find base character from an accented character

    Hi, given an accented character (�, �, �, etc...) is there a way to retrieve its base character? In the case above, a, o and c respectivelly?
    I searched in this forum and google and didn't find a definitive answer.
    The reason i need this is because in my database, some records have accented content, and now i need to generate a textfile to transfer daily to a bank, but the bank doesn't accept accented characters.
    Thanks.

    Decompose the Unicode string -- i.e., perform an NFC transformation -- and then strip off the diacritical marks, as done in VietPad editor.
    There is a native class, java.text.Normalizer, but it is not made public until Mustang release.
    http://java.sun.com/javase/6/jcp/beta/

  • Need suggestion on Multi currency and Unicode character set use in ABAP

    Hi All,
    Need suggestion. In one of the requirement I saw 'multi-currency and Unicode character set experience in FICO'.
    Can you please elaborate me how ABAPers are invlolved in multi currency as I think this is FICO fuctional area.
    And also what is Unicode character set exp.? Please give me some document of you have any.
    Thanks
    Sreedevi
    Moderator message - This isn't the place to prepare for interviews - thread locked
    Edited by: Rob Burbank on Sep 17, 2009 4:45 PM

    Use the default parser.
    By default, WebLogic Server is configured to use the default parser and transformer to parse and transform XML documents. The default parser and transformer are those included in the JDK 5.0.
    The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
    The DocumentBuilderFactory.newInstance method returns the built-in parser.
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();

  • How to find Database, APPL_TOP and IANA character set on 11i?

    Hi,
    Could you please tell How to find out Database character set, APPL_TOP character set and IANA character set on existing 11i environment?
    This is required to pass the input during R12 upgrade.
    Regards,
    AV

    Database:
    SQL> select value
    from V$NLS_PARAMETERS
    where parameters='NLS_CHARACTERSET';
    Application:
    $ echo $NLS_LANG
    IANA:
    Check the value of "s_iana_cset" context variable in the context file or check the value of "ICX:Client IANA Encoding" profile option.
    NLS Frequently Asked Questions [ID 399789.1]
    Oracle Applications 11i Internationalization Guide [ID 333785.1]
    How autconfig determines the value for Iana Charsets s_iana_cset value set in XML context file [ID 1380683.1]
    Thanks,
    Hussein

  • SQL Server 2000 - Valid Binary datatype and valid character datatype:

    SQL Server 2000 - Valid Binary datatype and valid character datatype:
    Which is not a valid binary datatype :
    BIT , IMAGE, TMESTAMP
    Which is not a valid Character datatype :
    VARTEXT , BLOB , TEXT

    BOL 2014: "
    Data Types (Transact-SQL)
    SQL Server 2014 
    Data Type Categories
    Exact Numerics
     bigint
     numeric
     bit
     smallint
     decimal
     smallmoney
     int
     tinyint
     money 
    Approximate Numerics
     float
     real
    Date and Time
     date
     datetimeoffset
     datetime2
     smalldatetime
     datetime
     time
    Character Strings
     char
     varchar
     text
    Unicode Character Strings
     nchar
     nvarchar
     ntext 
    Binary Strings
     binary
     varbinary
     image
    Other Data Types
     cursor
     timestamp
     hierarchyid
     uniqueidentifier
     sql_variant
     xml
     table
     Spatial Types "
    LINK: http://msdn.microsoft.com/en-us/library/ms187752.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • To delete first and last character of a string???

    Hi Everybody !!!
    Do you know a method that can permit to delete in a string the first and the last character?
    For instance I have in my string this word : [the word]
    I would like to delete the '[' and the ']' character.
    Is exist a method that permit to delete this character?
    Thanks !!!

    Look at the substring method of the String class.
    Note that since string is immutable, you'll need to assign the results of substring to a variable (could be the same as the original or different).

  • Language and accents mix match?

    I really like the dictation and voice to speech on my mac, but I really hate the voices. I tried out the foreign accents for English that is available for download but nothing sounds the way I'd like. Is there a way to mix match the languages and accents? I'd like to have English with a Russian accent... Is that possible? Are their apps that can do something like this?

    pit5000 wrote:
    I'd like to have English with a Russian accent... Is that possible?
    So you have tried English with Apple's Russian voice (Milena) and don't like it?
    This message may help
    https://discussions.apple.com/message/22409816#22409816

  • Using Firefox (and having ZoneAlarm), when logging into my work email (Lotus Notes) through a secure Citrix program, a quesitonmark types as and accented "E". This does not happen when using IE (which I prefer not to use). I have turned off the anti-key

    Using Firefox (and having ZoneAlarm), when logging into my work email (Lotus Notes) through a secure Citrix program, a question mark types as and accented "E". This does not happen when using IE (which I prefer not to use). I have turned off the anti-keylogger in ZA (an old, and no longer successful fix). Can anyone help? I need my question marks at work.
    Thanks!
    PS. my keyboard language is not set to French.
    == This happened ==
    Every time Firefox opened
    == I tried to type a "?" in a work email using remote access.

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Troubleshooting extensions and themes]]
    Check and tell if its working.
    May not be related to your problem but some of your Firefox Plugins are out-dated
    * Update All your Firefox Plugins -> https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

Maybe you are looking for

  • How do I create a new ssh SMF service?

    Hello. I looked all over before posting this...I just completed four Solaris 10 builds using OPSWARE. All four builds are on V120's. I had two Solaris 10 with older hardware release 3/05 I belive, those were fine, but the two with release 1/06 did no

  • Request to check my coding..... Urgent

    MY program is  with ALV_Grid 1. Selection Screen Customer Number: KUNNR Billing Date: FKDAT Now Using the above Selection screen inputs, I want to generate the following fields in the output. 2. Output Screen Invoice No: VBELN Invoice Date: FKDAT Cus

  • [bug locked] How do I edit a pdf file?

    I have a paper document that I need to update once a year.  It is rather long.  I cannot find the word file used to create this document.  I have scanned this document at work but it is in pdf form so I currently cannot edit it. Do I need to buy a ce

  • NOKIA_6233_rus

    Hello, I`am from Ukraine. I`ve allready updatet my nokia_6233, problem - There is not in new softwere russian or ukranian lenguage. Pls help.

  • Regarding enhancing thetransaction xd01.

    Dear All,               In CMOD i am creating the project "ZEMAX" for creating enhancement object. i.e. my project is for program "SAPMF02D"                  i.e. User exits: Customer master data. But when I am clicking on component TAB it gives me