Problems with special characters with XML/PDF printing

Hi,
Our setup:
Apex Listener 2.0.5
Oracle DB 11G
Weblogic
Apex 4.2.2
Various recent major browsers
We used this blog post so we could do some PDF printing with APEX Listener:
http://marcsewtz.blogspot.be/2013/04/pdf-printing-with-oracle-application.html
The problem is special characters. For example the "&" sign comes out as "%26amp;" when we export an XML.
Could anyone provide some insights of what we can do to fix this?
Regards,
Joni

This is a known bug.
https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=957905848396285&id=18282188&_afrWindowMode=0&_adf.ctrl-state=168vq5zhn3_233
The bug 18282188 has been fixed in Apex 4.2.5 version.
Upgrade the Apex version to 4.2.5 when it is available.

Similar Messages

  • Problem handling special characters while generating pdf

    I have special char stored in DB when user pasted that on the screen. i will read and make the DOM and add as attribute. when i apply xslt transformer and send it to driver(FOP) . it gives following error.
    FOPException; invliad character &#11 in xml.
    i tried couple things:
    1.just created DOM with special character in it and using streamsource i ouputted into flat file. it converted special char into &#11 this is not valid value in XML
    2. i set outputformat to utf-8 & iso too it doesnt help(i gues i i have some way to set input file encoding it would help)
    Thanks for your help in advance

    my part of JPD file from where i am calling db method which query the records.
    * @jpd:process process::
    * <process name="loadContacts">
    * <clientRequest name="Subscription" method="subscription"/>
    * <perform name="Perform" method="CacheRecordType"/>
    * <block name="Group">
    * <onException name="OnException">
    * <perform name="Perform" method="perform1"/>
    * </onException>
    * <doWhile name="Do While" condition="exprFunction0($rowsProcessed)">
    * <perform name="Perform" method="perform"/>
    * </doWhile>
    * </block>
    * </process>::
    * @jpd:xquery prologue::
    * define function exprFunction0(xs:int $rowsProcessed) returns xs:boolean {
    * ($rowsProcessed <= 50) and
    * ($rowsProcessed != 0)
    public void perform() throws Exception
    LoginResult loginResult=null;
    String sforceId="";
    SvcControl.ContactData[] contactData = null;
    log.debug("Started Load Contact process=");
    try{
    log.debug("Started Load Contact process="+ SvcControl.getContactData().toString());
    contactData = SvcControl.getContactData();
    log.debug("Started Load Contact process="+ contactData.toString());
    }catch(Exception e){
    log.error("Caught exception:"+e.getMessage());
    return;
    if(contactData!=null){
    Edited by: Pannar on Dec 4, 2008 10:45 PM

  • Problems with special characters displaying in PDF when exported.

    I have a very frustrating question. I've never had any problems with font and pdfs before switching to the operating system for Mac. Of course, they have Helvetica Neue pre-installed as a system font. The problem is, Bold doesn't work and is not an option. I've tried using Helvetica Neue (TT) but special character and punctuation disappear completely.
    See below:
    MЧnica PОrez
    Unfortunately, that is supposed to say Monica Perez. There are supposed to be marks above the "o" and "e". Can anyone help me?

    Try copying your T1 Helvetica Neue font into the Applications/Indesign/Fonts folder. This will give you the complete family in Indesign overriding the system TT.

  • Problems with special characters in InputStream or XPath

    Hello everyone,
    I am having problems with special characters such as ", ', - and so on, everything becomes ? (questionmark). (Not with special nordic characthers (å,æ,ø) though.)
    The encoding of the XML is UTF-8, and the server that holds the webservice is setting encoding to UTF-8 also, so no conflict there.
    What I have done is something like this:
    {code}
    String url = "http://www.formula1.com/rss/news/latest.rss"; // This is not the feed I use, it is a custom XML document
    InputSource is = new InputSource(url);
    DocumentBuilderFactory fct = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = fct.newDocumentBuilder();
    Document doc = builder.parse(is);
    Element rootElement = doc.getDocumentElement();
    XPathFactory factory = XPathFactory.newInstance();
    XPath xPath = factory.newXPath();
    out.print(xPath.evaluate("/rss/channel/title", rootElement)); // The xml is not a RSS feed, this is just an example.
    {code}
    Please let me know what I am doing wrong, or give me a hint of how to solve this in another way.
    Best regards,
    G.Hansen
    Edited by: G.Hansen on Mar 24, 2009 2:39 AM

    Hello, thanks for you reply. I had to rewrite your code a little, and I think that your code would not really compile, if you tried yourself :-)
    I ended up with something like this:
    our environment is running in 1.4 mode, so I could not use the for-each loop :-(
    public String printEntities(String s) {
         char[] sArray = s.toCharArray();
         StringBuffer sb = new StringBuffer();
           for (int i = 0; i < sArray.length; i++) {
             if (sArray[i] > 256)
                  sb.append("&#x" + Integer.toHexString(sArray) + ";");
         } else
              sb.append(sArray[i]);
         return sb.toString();

  • Problem with special characteres

    Hi. I have a problem with java. I�m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (�, �, �, etc) appear like a �?� (question mark). Any tips, please?
    Thanks in advance

    Andy2008 wrote:
    Hi. I have a problem with java. I&#146;m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (&#145;, �, �, etc) appear like a &#147;?&#148; (question mark). Any tips, please?First step: read [this excellent introduction into Unicode|http://www.joelonsoftware.com/articles/Unicode.html], it will give you the basics you need to solve this problem.
    How do you input and output those characters? Simply print them to the console? Or write them to a HTML file (since you mention &<something>; notation)?
    "?" is normally the result when you convert a String (which is always in UTF-16 encoding in Java) to an encoding that can't represent your characters (ASCII for example).

  • Problems with special characters like "u00F6" "u00E4" "u00FC"

    Hi,
    we currently face some major problems with special characters like "ö" "ä" "ü". First I thought it is a SP02 specific problem but it still doesn't work with SP03.
    When I start an import the import manager shows correct converted value. "ö"s "ä"s "ü"s are displayed correctly. But after I've done the import I look into the Data manager and I see instead of these characters charcaters like "&#776;". (note: the character should show a little square box - but the forum cannot desplay it)
    How can I solve this problem?
    Regards
    Nico

    Hi Nico
      Just try it out the following steps, hope it solves ur issue.
    <b>To set one or more values back to their original values:</b>
    1. In the Import Manager Source Values grid, select the values that you want to set back to their original values.
    2. Right-click on one of the values and choose Set to Original Value from the context menu, or choose Values > Apply Value Conversion Filter > Set to Original Value from the main menu.
    3. MDME sets each value back to its original value, which appears in black in the Source Values grid.
    <b>NOTE : You can use the Set to Original Value filter only at the value-level and not at the field level.</b>
    thanks
    Alexander

  • Problems with special characters in JSP app

    Hello!
    I am working for a JSP application which uses special characters.
    The database used is a Novell MySQL version, it is fine.
    I use Tomcat, Apache.
    I do not think that the versions are important.
    ON NT:
    The application works fine with special characters.
    Obs: I tried only with Tomcat; I didn't use Apache.
    ON NOVELL:
    If I try to insert some special characters,
    they arrive just fine into the database.
    The problem is when I want to display them.
    I tried with jsp directive to set the charset,
    or with HTML meta tag - no result al all.
    Everytime I use the same work station, and the same browser to do the tests.
    Please help with any ideas.
    Another question, maybe relayed:
    Can I set Tomcat so that when it creates the servlets it uses a custom charset I can indicate?
    THANK YOU!

    The characters I want to use are french characters, e-acute, etc.
    I take the data with request.getParameter, POST method, etc.

  • Problem figuring out the encoding for filenames with special characters

    I'm not sure if this is the right forum, but this does seem like an OS issue.
    I brought in a lot of mp3 and m3u files from a Windows machine to my new Mac. Some of the mp3 files have accented characters in their names, and these names appear in the m3u files. But if I add the m3u file to iTunes, it fails to recognize these names and so I lose all the mp3's with special characters in their names.
    I tried to fix this by grabbing the files name in Python, but that didn't work either!
    Here's an example: the file's name is "Voilà l'été.mp3"
    The m3u files says "Voil\xe0 l'\xe9t\xe9.mp3" -- this doesn't work.
    From os.listdir(), I get Voila\xcc\x80 l'e\xcc\x81te\xcc\x81.mp3", but sticking it in an m3u files doesn't work either. (Note that here the characters are encoded as unaccented letter + two byte code for the accent).
    When I try these strings from python, e.g. doing os.stat(), they both work; but iTunes doesn't understand any of them!
    I'd appreciate any hints on how to enter these names in the m3u file so that iTunes can read it. Thanks!

    I know nothing about "m3u" files and how iTunes interprets the file names in them, but if it is not a relative/absolute path problem, then how about just putting the raw file names (not the ones with backslash escape) in m3u file? For example, just put
    Voilà l'été.mp3
    in m3u?
    As for Unicode encoding, HFS+ file system uses the "decomposed form" for accented characters. This means, as you write, à is hex "61 cc 80" in UTF-8, i.e., "a + COMBINING GRAVE ACCENT". The pre-composed form is hex "c3 a0". But my experience is that in most cases both pre-composed and decomosed forms work at the user level (not at the lowest file system level).

  • Problems with Special Characters on Exchange Email

    Hello:
    People I have a issue with our Corporate Email on my Iphone. We use Exchange 2003 and we have users with special characters on his emails address.
    I receive fine the email, just appear a errors on the display name. The issue is when I try to reply thie email. A error message popup said:
    Invalid Address
    "email with special characters" does not appear to be a valid email address. Do you want to send it anyway?
    If I press Yes, Iphone try to send the message But I receive another error message:
    Cannot send Mail
    An error ocurred while delivering this message.
    Any Help or Idea?
    Here My Email Configuration
    Email = Email
    Server = Server IP
    Domain = Work Domain Name
    Username = my user id
    Password = my password
    Description = Work
    Use SSL = ON
    S/Mime = Off

    When I Said "we have users with special characters on his emails address" its mean users with ñ,ó, ú, Ñ on his emails address. 
    When I said "just appear a errors on the display name" I mean characters like Âñ¡
    Thanks

  • Problem with specials characters like '€' or 'œ'

    Hello,
    I'm having troubles with specials characters such as '€' or 'œ'.
    I use an application connected to a 9.2.0.7.0 database on a w2003 server.
    Characterset of the database is FRENCH_FRANCE.WE8MSWIN1252.
    In my workstation the value of [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG] is also FRENCH_FRANCE.WE8MSWIN1252.
    But when I type such specials characters through the application, they are replaced by '¿' in the database. The datatype of this column is varchar2.
    Can anyone help me ?
    thanks
    Antoine
    Edited by: Antoine.M on Aug 19, 2009 12:45 PM

    Is your application a java application ? if so, pl see MOS Doc 365874.1 (Euro Symbol/Trademark Symbol is Garbled When JDBC Thin Driver Retrieves Data from a Database with Characterset WE8MSWIN1252)
    HTH
    Srini

  • SSID with special characters showing up in place of the letters

    On a Win 7 machine the SSID list of available wireless networks is showing up with special characters in place of the normal letters in the name of the SSID... It has nothing to do with the Linksys Router, it is a problem on this computer. It makes it impossible to connect to a wireless network. I removed the device and reinstalled it hoping that might help. I can't find any viruses, (Known Viruses) Has anyone here seen this before? I am atttaching a photo of this. Any help appreciated.

    marke1102 wrote:
    On a Win 7 machine the SSID list of available wireless networks is showing up with special characters in place of the normal letters in the name of the SSID... It has nothing to do with the Linksys Router, it is a problem on this computer. It makes it impossible to connect to a wireless network. I removed the device and reinstalled it hoping that might help. I can't find any viruses, (Known Viruses) Has anyone here seen this before? I am atttaching a photo of this. Any help appreciated.
    Is this the only computer having a problem? How many wireless devices are connected and working to the router right now?

  • Tag Query with Special Characters in Tag Name not working

    Hello-
    We are on SAP xMII 12.0 sp8.6, connecting to Honeywell's PHD. We are doing Tag Queries, and all is working well, except when there are special characters in the Tag Name (+, /, \) We have attempted to do the Encoding of the tag name, such as as is returned from the function xmlencodename and also tried URL Encoding.
    Here is our tag which returns nothing.
    82TK1INV.OCTANE_R+M/2
    We have also tried these encoded versions, still to no avail:
    82TK1INV.OCTANE_R%2BM%2F2
    82TK1INV.OCTANER_M_2
    Any help on how to return the values with special characters in the tag name would be very helpful!
    thanks,
    Paul Mazeika

    To Chianti's question of why can't/shouldn't MII work with those bizarre tag names...
    Actually, there are a number of reasons:
    1) It's a poor design practice to use characters like that in tag names, regardless of the underlying system.  That type of information is best assigned to the tag description, not the tag name.  I've even seen idiots put leading spaces on tag names...figure that one out!
    2) MII uses XML extensively, and XML's syntax rules dictate what is and is not acceptable for XML element and attribute names, and many of these special characters are not permitted.
    3) Usage of characters in tags that also represent mathematical operators greatly complicate the parsing and processing of expressions that involve tag names
    In general, it reminds of the story of the guy who walks into the doctor, bangs his fist against a specific spot on his head, and says "Doc, it hurts when I do this", to which the doctor responds, "so don't do that". 
    So, Don't Do That.

  • Adobe Interactive Forms ZCI  with special characters

    Hi,
    I hope somebody can help me with the problem described below.
    We are using Adobe Interactive Forms ZCI (IF). On our IF we placed a Enumerated DDL from the Webdynpro Native tab. In the Visual Admin the number of entries for the DDL is 50 (default). The problem is that when the DDL consists of more than 50 entries a webdynpro pop-up screen is shown. In our DDL we have entries with “special” characters for example the apostrophe (ie. ‘s). When I select one of these entries it’s not displayed correctly in the form. It is displayed as 's.
    We are using Adobe reader 7.08. I also tested it with reader 8.1.0 and there the problem still occurs.
    We are using NW04s SP12.
    Thanks in advance,
    Kind regards,
    Maarten.

    Hello Saujanya,
    This is not what i meant.
    The problem isn't that not all entries are listed in the EVS, but that when the EVS is displayed and i select an entry with a "special" character like i.e.. a apostrophe (') the selected value isn't correctly displayed in the DDL as selected item. Say the i select from the EVS the value " 's " when the EVS is gone the value in the DDL is &apos;s. This is not correct.
    Hope this explanation will help.
    Kind regards,
    Maarten.

  • FTP-Adapder - Password with special characters

    Hi,
    I hope anybody can help me.
    I have configuriered a sender FTP-Adapter, for login we have a Password with special characters like § or $.
    in the Monitoring now we get this error: 'com.sap.aii.adapter.file.ftp.FTPEx: 530 User cannot log in.'
    if I use a password without the special character, I can Connect to the FTP-Server.
    How can I configure the XI(7.00) to use a password with this characters.
    Thanks for your help
    Mario Grießer

    Hi Mario,
    Check the below thread which might through a light on your issue:
    Re: brbackup using ftp
    Thanks,

  • Empty datafile with special characters in name

    Hello all
    I'm having an issue with an empty datafile that is in recover mode.
    Previously the following has been successful :
    alter database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name' ;
    recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    However this time it doesnt work as I get errors :
    ORA-01516: nonexistent log file, data file, or temporary file
    Using the file id doesnt work either.
    When I created a control file trace I can see the datafile has special characters in the name :
    '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    As it is empty, would it be possible to create anothr empty datafile
    using :
    alter database create datafile '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    as '/oracle/PRD/spdata2/r3i_8/r3i.data8';
    then recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    How do oracle commands cope with special characters?
    Thanks for your advice

    user6737818 wrote:
    Hello all
    I'm having an issue with an empty datafile that is in recover mode.
    Previously the following has been successful :
    alter database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name' ;
    recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    However this time it doesnt work as I get errors :
    ORA-01516: nonexistent log file, data file, or temporary file
    Using the file id doesnt work either.
    When I created a control file trace I can see the datafile has special characters in the name :
    '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    It should work using a file number as the source file definition and a new name for the new file. Works for me:orcl> alter database create datafile 7 as 'c:\tmp\newname.dbf';
    Database altered.
    orcl>

Maybe you are looking for

  • HT4436 Can I have multiple devices using the same iCloud account?

    We want to use "Find my iPhone" in iCloud to keep track of all of our corporate-owned devices so we use the same iCloud account on all devices.  If we enable iCloud backup, will that cause problems?  Will the latest backup be the one that gets picked

  • Acrobat Pro 10.12 not possible to sign a pdf with a valid cert

    Hello, Under Windows 7 x64, it's not possible to sign a PDF with a valid certificate. Clicking the sign button gives no response and no message what so ever. When using a non valid certificate as in not certified to use for signing, it is accepted an

  • Sorting a List on Parent Child Relationship

    I have to sort a list on Parent Child relation say I have a following list Object(Id,ParentId,.........) obj1(1,1,........); obj2(2,1,........); obj3(3,3,........); obj4(4,1,........); obj5(5,3,........); obj6(6,1,........); obj7(7,3,........); obj8(

  • Ipad air looses wifi

    mmy iPad Air looses connection often even though the signal is really strong and other devices stay connected? The latest iPad HW with the latest available SW.

  • JPA Entity persistance has strange behavior

    Hello all, Well first off I apologize if this is in the wrong place as I am not using J2EE but J2SE with JPA and Spring 2.0. My issue is very simple but also very strange and I am unable to diagnose the problem. What I have is a method that persists