Garbage Characters in XML Feed

I have a presentation template that produces an XML RSS feed. Although I tell it to use UTF-8 like this :
<?xml version="1.0" encoding="UTF-8"?>
I still see garbage characters in the news feed. I've read that XML still has trouble dealing with certain characters and figure that the best solution is simply to be sure that those characters don't exist.
Is there a way using the PCS tags to ensure that all characters end up as standard text?

I think you better change the encoding of your XML file as the same of the encoding of Publisher output.

Similar Messages

  • Getting garbage characters at the begining of xml

    Hi Experts,
    I am using file adapter to pick XML file. Using TEXT mode & encoding "ISO-8859-1" as it has some special characters.
    But when file is picked by PI in moni XML payload contain some garbage characters at the begining of the XML declaration.
    This characters is making file as invalid.
    But if I open the origional file then it is not showing the characters.
    Could u please help me how to remove this garbage characters frm XML file beginning.
    Thanks in advance.

    I am using file adapter to pick XML file. Using TEXT mode & encoding "ISO-8859-1" as it has some special characters.
    This characters is making file as invalid.
    Check this SAP Note: https://service.sap.com/sap/support/notes/821267
    From the above SAP Note:
    16. File Encoding
    XML Files
    Important: Even if you configure a File Encoding in the File Adapter channel, the File Adapter will not
    -write the XML header to reflect the changed encoding, so you will probably see an XML parsing error later
    during the processing of the message if you specify an encoding.
    Regards,
    Abhishek.

  • AIX + Korean : garbage characters

    I have tomcat installed on AIX machine. When the user enters some korean characters I get some garbage characters at tomcat side. This issue is only if tomcat is on AIX machine. Anybody aware of this issue?

    and again missunderstood ;-)
    begin owa_util.print_cgi_env; end;
    =
    PLSQL_GATEWAY = WebDb
    GATEWAY_IVERSION = 3
    SERVER_SOFTWARE = Oracle-Application-Server-10g/9.0.4.0.0 Oracle-HTTP-Server
    GATEWAY_INTERFACE = CGI/1.1
    SERVER_PORT = 7780
    SERVER_NAME = los-bd4.intranet.l-os.de
    REQUEST_METHOD = POST
    PATH_INFO = /wwv_flow.show
    SCRIPT_NAME = /pls/htmldb
    REMOTE_ADDR = 10.220.110.200
    SERVER_PROTOCOL = HTTP/1.1
    REQUEST_PROTOCOL = HTTP
    REMOTE_USER = HTMLDB_PUBLIC_USER
    HTTP_CONTENT_LENGTH = 297
    HTTP_CONTENT_TYPE = application/x-www-form-urlencoded
    HTTP_USER_AGENT = Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
    HTTP_HOST = 10.220.110.22:7780
    HTTP_ACCEPT = text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    HTTP_ACCEPT_ENCODING = gzip,deflate
    HTTP_ACCEPT_LANGUAGE = de-de,de;q=0.8,en;q=0.5,en-us;q=0.3
    HTTP_ACCEPT_CHARSET = ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_REFERER = http://10.220.110.22:7780/pls/htmldb/f?p=4500:1003:2050165973690504::NO:::
    HTTP_ORACLE_ECID = 1177512000:10.220.110.22:2296:0:624,0
    WEB_AUTHENT_PREFIX =
    DAD_NAME = htmldb
    DOC_ACCESS_PATH = docs
    DOCUMENT_TABLE = wwv_flow_file_objects$
    PATH_ALIAS =
    REQUEST_CHARSET = AL32UTF8
    REQUEST_IANA_CHARSET = UTF-8
    SCRIPT_PREFIX = /pls
    HTTP_COOKIE = ISCOOKIE=true; ORACLE_PLATFORM_REMEMBER_UN=MERKER:zentral; WWV_FLOW_USER2=5352414403960629
    Anweisung wurde verarbeitet.

  • Garbage characters in excel file opened by jsp

              I am storing an excel file as blob in database. While retrieving
              from database when I open in the jsp page , it shows a lot of garbage characters
              and all formatting is lost. I am using content type "application/vnd.ms-excel".
              I am also setting correct mime type in web.xml as application/excel. It is weblogic
              6.1 sp2 with oracle 8.1.6. the pdf and word docs are working well. Please help
              soon.
              Thanks
              

    Download the Open G Toolkit from www.openg.org. There is a VI called Quit Application.vi that works great. I have used it with the very stupid Brooks 0154 SmartDDE Controller program to reset the application.
    Be sure to save the document and close the DDE communication first.
    Michael
    www.abcdefirm.com
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Garbage characters in german admin pages after update to 3.0

    After Update to 3.0 there are garbage characters display instead of German special characters (äöüß ...)
    looking like ... " löschen " or "Unterstützende Objekte"
    In the applications these characters displayed correctly -even the Buttons ... - only Apex Admin Pages affected.
    I have checked Frequently Solved Problems/FAQs with Application Express 3.0
    and updated PL/SQL Web Toolkit to 10.1.2.0.6 and checked NLS_charset - is right.Then I've run the load_de Script again. But noting changed.
    DB 10.1.0.3 on SLES9 SP3, NLS_CHARACTERSET WE8ISO8859P1
    9.0.4 Oracle-HTTP-Server
    Any Ideas?
    regards
    Ralf

    and again missunderstood ;-)
    begin owa_util.print_cgi_env; end;
    =
    PLSQL_GATEWAY = WebDb
    GATEWAY_IVERSION = 3
    SERVER_SOFTWARE = Oracle-Application-Server-10g/9.0.4.0.0 Oracle-HTTP-Server
    GATEWAY_INTERFACE = CGI/1.1
    SERVER_PORT = 7780
    SERVER_NAME = los-bd4.intranet.l-os.de
    REQUEST_METHOD = POST
    PATH_INFO = /wwv_flow.show
    SCRIPT_NAME = /pls/htmldb
    REMOTE_ADDR = 10.220.110.200
    SERVER_PROTOCOL = HTTP/1.1
    REQUEST_PROTOCOL = HTTP
    REMOTE_USER = HTMLDB_PUBLIC_USER
    HTTP_CONTENT_LENGTH = 297
    HTTP_CONTENT_TYPE = application/x-www-form-urlencoded
    HTTP_USER_AGENT = Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
    HTTP_HOST = 10.220.110.22:7780
    HTTP_ACCEPT = text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    HTTP_ACCEPT_ENCODING = gzip,deflate
    HTTP_ACCEPT_LANGUAGE = de-de,de;q=0.8,en;q=0.5,en-us;q=0.3
    HTTP_ACCEPT_CHARSET = ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_REFERER = http://10.220.110.22:7780/pls/htmldb/f?p=4500:1003:2050165973690504::NO:::
    HTTP_ORACLE_ECID = 1177512000:10.220.110.22:2296:0:624,0
    WEB_AUTHENT_PREFIX =
    DAD_NAME = htmldb
    DOC_ACCESS_PATH = docs
    DOCUMENT_TABLE = wwv_flow_file_objects$
    PATH_ALIAS =
    REQUEST_CHARSET = AL32UTF8
    REQUEST_IANA_CHARSET = UTF-8
    SCRIPT_PREFIX = /pls
    HTTP_COOKIE = ISCOOKIE=true; ORACLE_PLATFORM_REMEMBER_UN=MERKER:zentral; WWV_FLOW_USER2=5352414403960629
    Anweisung wurde verarbeitet.

  • Photoshop CS3 printing garbage characters on HP LaserJet 1300

    After installing CS3, Photoshop prints garbage characters on my HP LaserJet 1300.
    Yes, I have tried printing as ASCII, ASCII85, Binary and JPEG - nothing helps (plus the settings won't stick even after holding down Alt and clicking the Remember button).
    The only way to print right now is to choose Save as PDF in the print dialogue, open the PDF in Adobe Reader and print from there.
    Any ideas?

    tzw - I responded about this on another forum. I talked to technical support at Adobe about this exact issue about 2 months ago - can't print photoshop CS3 on any of my three HP printers. ( I have a HP1200, an HP 2550 and a HP photosmart 7660) (CS2 works fine) They worked with me for about an hour - called me back and worked some more, and then decided to send it up to the programmers (or engineers or whatever) The programmers called me and worked with me for another hour - trying different set-ups etc., but the conclusion by them was that this was a huge problem in that there were a lot of HP printers out there - that they were going to give this their top priority - and that there would be a fix for this soon. (I have yet to see a fix.)

  • Parameter is not working in HTTP( XML FEED) dataset in bi publisher 11g

    Hi,
    I have used parameter in BI Publisher 10g for HTTP(XML Feed) dataset to have dynamic url which worked by using ${p_url} where p_url is the parameter.
    The same procedure when I use in BI Publisher 11g is not working.It does not consider the parameter ${p_url} and throws the following exception
    *oracle.xdo.dataengine.datasource.plugin.DataAccessException: java.lang.Exception: java.net.MalformedURLException: no protocol: ${p_url}*
    Has anyone faced this issue?
    Please let me know if am doing something incorrect here.
    Thanks &Regards,
    Balaji

    Thanks for your reply.
    In BI Publisher 10 g we are using it this way ${p_url}.
    p_url is the parameter which gives us the entire URL for the XML feed.
    e.g. p_url=http://rss.news.yahoo.com/rss/topstories
    The p_url takes the entire url.
    Please let me know if this can be done the same way in 11g.
    Thanks,
    Balaji

  • How to remove special characters in xml

    Dear friends,
    How to remove the special character  from the xml. I am placing the xml file and  fetching through file adapter.
    The problem is when there is any special character in xml. i am not able to pass to target system smoothly.
    Customer asking schedule the file adapter in order to do that the source xml should not have any special charatcters
    How to acheive this friends,
    Thanx in advance.
    Take care

    Hi Karthik,
    Go throgh the following links how to handle special character
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
    Restricting special characters in XML within XI..
    Regards
    Goli Sridhar

  • Multibyte character was garbage characters, when multipart requested (Multipartリクエストで文字化けが発生する) on WebLogic12(12.1.2.0)

    When using File Upload functionality of Servlet3 specification, other item's value(<input type="text">) was garbage characters.
    Need special settings?
    WebLgic12c(12.1.2.0)のファイルアップロード機能(Servlet3仕様の機能)にて、アップロードファイル以外の項目の値が文字化けしました。
    これは、何か設定が必要なのでしょうか?
    【Note】
    When normal request(application/x-www-form-urlencoded), submitted value is not garbage characters.
    Filename & File content of uploaded file is not garbage characters.
    I confirmed by debugger that stored value in temporary file is not garbage characters.
    HttpServletRequest#setCharacterEncoding("UTF-8") is used.
    enctype="multipart/form-data"を指定しないリクエストでは文字化けは発生していません。
    アップロードしたファイルのファイル名及びアップロードファイルの中身自体は文字化けしていない。
    アップロード時に出力される一時ファイルの中身をデバッグ実行して確認したところ、この段階では文字化けしていなかった。
    HttpServletRequest#setCharacterEncoding("UTF-8")も実行しています。
    【Environment Information】
    OS : MacOS X 10.8.5
    JVM : Oracle Java7
    VM Encoding : UTF-8 (-Dfile.encoding=UTF-8)
    WebPage Encoding : UTF-8
    OS LANG : LANG=ja_JP.UTF-8
    IDE : STS(Spring Tool Suite)
    Boot Platform : WTP for Weblogic12.1.2.0
    Framework : Spring MVC(3.2.4)
    I want to know how to solve this behavior.
    なにかご存知の方いましたら、解決方法をご教授頂ければと思います。
    Message was edited by: user11123661 modified main language.(japanese -> english).

    The basic problem is not obscure, it has come up countless times since Tiger was released. See this note and try Fix C (dingbat) to see if it will help:
    http://homepage.mac.com/thgewecke/woutlook.html

  • Adobe PDF printer 'printing' garbage characters

    Acrobat Professional v9.5.0 (Acrobat reports there are no updates available)
    Windows 7 Home Premium 64-bit
    I print from various applications and web pages to my 'Adobe PDF' printer to save things as PDF files.
    Over the last several months, I have begun to have issues with printing to my Adobe PDF printer. This issue happened twice just yesterday, actually.
    I will be looking at a web page, and choose to print it to PDF (a purchase receipt for example). I supply the filename and choose to print, and Acrobat will bring up the newly created PDF and it will have garbage characters in various places.
    If I try printing it to PDF again, I get the same results.
    However, if I print the item to Microsoft XPS format, it works just fine and all the characters are readable.
    I don't know what to do. I saw an article about embedding the fonts, but it appears that all the standard 'web safe fonts' are already set to be embedded in PDF files via distiller (if that is what is actually doing the printing to create the PDF). If I have to choose more fonts to embed into the PDF, it seems to be extremely difficult to determine what fonts are being used by each site or application and choosing them all manually to be embedded in the files.
    Surely there has to be a simpler solution to this issue.

    I too had this annoying issue, usually printing from https sites, although the site address may be coincidental.
    What worked for me was:
    Select Print
    In the print dialog box, select Adobe PDF and then Preferences.
    In the Printing Preferences dialog box the tab should be Adobe PDF Settings
    Uncheck the box next to Rely on system fonts only; do not use document fonts
    Select OK
    If the box is already unchecked, it might be caused by something similar. This worked so I went no further. I have not yet checked to see if this must be done each time or how to make it default.

  • ? is shown for Norwegian characters when XML document is parsed using DOM

    Hi,
    I've a sample program that creates a XML document with a single element book having Norwegian characters. Encoding is UTF-8. When i parse the XML document and try to access the value of that element then ? are shown for Norwegian characters. XML document file name is "Sample.xml"
                DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
                Document doc = docBuilder.newDocument();
                Element root = doc.createElement("root");
                root.setAttribute("value", "Á á &#260; &#261; ä É é &#280;");
                doc.appendChild(root);
                TransformerFactory transfac = TransformerFactory.newInstance();
                Transformer trans = transfac.newTransformer();
                trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
                trans.setOutputProperty(OutputKeys.INDENT, "yes");
                trans.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                //create string from xml tree
                java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream();
                StreamResult result = new StreamResult(baos);
                DOMSource source = new DOMSource(doc);
                trans.transform(source, result);
                writeToFile("Sample.xml", baos.toByteArray());
                InputSource is = new InputSource(new java.io.ByteArrayInputStream(readFile("Sample.xml")));
                is.setEncoding("UTF-8");
                DocumentBuilder obj_db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document obj_doc = obj_db.parse(is);
                obj_doc.normalize();
                System.out.println("Value is : " + new String(((Element) obj_doc.getElementsByTagName("root").item(0)).getAttribute("value").getBytes()));writeFile() - Writes the document bytes in Sample.xml file
    readFile() - Reads the Sample.xml file
    When i run this program XML editor shows the characters correctly but Java code output is: Á á ? ? ä É é ?
    What's the problematic area in my java code. I didn't get any help from any source. Please suggest me the solution of this problem.
    Thanx in advance.

    Hi,
    I'm using JBuilder 2005 and i mentioned encoding UTF-8 for saving Java source files and also for compilation. I've modified my source code also. But the problem persists. After applying changing the dumped sample.xml file doesn't display these characters correctly in IE, but earlier it was displaying it correctly at IE.
    Modified code is:
    DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
                Document doc = docBuilder.newDocument();
                Element root = doc.createElement("root");
                root.setAttribute("value", "Á á &#260; &#261; ä É é &#280;");
                doc.appendChild(root);
                OutputFormat output = new OutputFormat(doc, "UTF-8", true);
                java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream();
                OutputStreamWriter osw = new OutputStreamWriter(baos, "UTF-8");
                XMLSerializer s = new XMLSerializer(osw, output);
                s.asDOMSerializer();
                s.serialize(doc);
                writeToFile("Sample5.xml", baos.toByteArray());
                InputSource o = new InputSource(new java.io.ByteArrayInputStream(readFile("Sample5.xml")));
                o.setEncoding("UTF-8");
                com.sun.org.apache.xerces.internal.parsers.DOMParser obj_parser = new com.sun.org.apache.xerces.internal.parsers.DOMParser();
                obj_parser.parse(o);
                Document obj_doc = obj_parser.getDocument();
                System.out.println("Value : " + new String(((Element) obj_doc.getElementsByTagName("root").item(0)).getAttribute("value").getBytes()));I'm hanged on this issue. Can u please provide me the code snippet that works with these characters or suggest solution.
    Thanx

  • Reg : Weather XML Feed service application - urgent please.....!

    Hi All,
    I hv created a sample weather application which was published in weblog by Prakash with topic "Create a weather magnet using xml feed from weather.com"
    Everything works fine....But, when I deploy this one I get foll. error :
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : com.ust.weather.display
    Component Name : com.ust.weather.display
    xoap.weather.com.
    Exception id: 04:16_03/03/07_0773_1198650
    See the details for the exception ID in the log file
    I donno where iam going wrong but still.....not able to figure-out exact problem.
    I also, added the foll. jars :
                com.sap.portal.runtime.application.contentconversion_api.jar
                com.sap.portal.runtime.application.contentconverter_api.jar
    I request you all gurus.....plz provide me with solution where I went wrong.
    Appreciate your time and valuable inputs.
    Thanks in advance,
    Ravi Kumar.

    Hi Swathi,
    Thanks for your valuable inputs and reply.
    I checked in Javadeveloper >> Tools >>> Logviewer.
    I don;t find logviewer option under Tools of Java developer role.
    I am rightnow logged in to server via remote server desktop...checking for the logfiles.
    Please, let me know any other options/suggestions.
    Regards,
    Ravi Kumar.

  • Removing numerals/garbage characters from search in Section 508 build WebHelp

    I need to remove (prevent inclusion of) numerals and garbage characters from search results in WebHelp when compiled with Section 508 Output enabled. I need to have Section 508 enabled. Can that be done?
    Thanks for your time!

    Thanks, Jeff. I tried including the characteres in the Stop list and recompiling. (I even closed the project and reopened.) The characters still appear. The characters I'm trying to remove are: !, #, ', (, ), -, /, :, ;, and ,. I am also trying to exclude some numbers (100.00usd, 1999.99, 2999.99, 3999.99, 4999.99, and 6pm).
    The Stop list consists of those characters and the default text. Forgot to mention is the first post ... I'm using RH9.
    The Section 508 flag does create 508-compliant HTML output and that is one of the requirements for this help system. This is the first time I am enabling this flag.

  • Reader printing garbage characters

    Whenever I print using Acrobat reader default characters print as garbage, even when printing using "Print as Image".  Print preview looks fine but printer page shows mostly garbage characters.  For example, when printing the Sunday Crossword puzzle from the Washington Post the numbers in the gird print fine but the clues and things like Across and Down headers print with garbage characters.  This happens regardless of whether the document is printed from the Reader directly or from within a browser.  I've used IE8, Firefox and Chrome and get the same result.  The same problem exists regardless of which of my 3 printers I use (HP1020, HP Photosmart 8250, Brother MFC-3740W).  Same type of problem happens regardless of what pdf file I try to print.  Print preview always looks fine.  Printing the same files from my other PC comes out with no problem.  The problem system is running Windows 7 64-bit and problem only started recently, things used to print fine.

    In the meantime you will likely find that the fonts are not embedded or you are not sending them to the printer. Reader has not been called Acrobat Reader since version 5. The name was changed to just Adobe Reader to avoid this confusion. Acrobat is the full product with a $$ value to purchase.

  • Garbage Characters in CDE Window Title Bar

    I recently patched our Solaris 8 Sun workstations (a mixture of Blade 150, Ultra10, Blade 1500, and Blade 2000) with the recommended patch cluster from December 19th, 2005. At the same time, I updated the systems' Java to 1.4.2_10, and installed Update 5 to StarOffice7, which is still on the systems along with the newer StarOffice8.
    When initially installed before these recent patches, StarOffice8 behaved correctly. After updating the systems, when I open StarOffice8 in a CDE session, I get garbage characters in the title bar of the window. The letters and fonts in the application menus are normal. StarOffice8 windows under Gnome sessions are titled correctly.
    I've read some emails about issues with LC_CTYPE and setting it to en_US.ISO8859-15, using a wrapper script to start soffice. The current setting on my machines is en_US.ISO8859-1. That solution doesn't work consistently on different machines (or even on the same machine).
    In fact, even without attempting to solve the problem, there is inconsistent behavior. On one Ultra10 which I have as a testbed machine, StarOffice8 behaves correctly, whether I'm logged in as a normal user, or as root. On a Blade 1500, it behaves correctly when logged in as root, but not as a normal user. I've also patched StarOffice8 with Update1 which was released today, but it doesn't fix the problem.
    Anybody else having similar problems after recent patching? Or have any suggestions for a solution?
    Jeff Bailey

    More Info on Unsolved Problem:
    If I use Mozilla to open a document file, with soffice set as the helper application, the CDE window title displays properly. If I leave that instance of StarOffice open, and open new documents using the menus within StarOffice, subsequent CDE titles also display normally. Also with that original Mozilla-driven StarOffice application still open, if I use "soffice whatever.doc" on a command line, those CDE windows appear normal.
    Mozilla is set to use "en_US" as the language for webpages, with Western ISO-8859-1 as the default character coding. The Solaris 8 workstation's /etc/default/init file is configured as:
    TZ=US/Eastern
    CMASK=022
    LC_COLLATE=en_US.ISO8859-1
    LC_CTYPE=en_US.ISO8859-1
    LC_MESSAGES=C
    LC_MONETARY=en_US.ISO8859-1
    LC_NUMERIC=en_US.ISO8859-1
    LC_TIME=en_US.ISO8859-1
    While the Mozilla "wrapper" is a workaround for now, I don't see it as a final solution.
    Jeff Bailey

Maybe you are looking for

  • Reinstalling Windows 7 to New Hard Drive with only the Win 7 Upgrade Disc?

    So I have an e9180t which like clockwork freezes up after about an hour or two after booting up.  I thought it might be the curse of the bad motherboards they came with,  but I am hoping it is something else so testing everything I can.  I noticed it

  • How to create a forum on adobe muse

    I have a idea for a forum and I am wondering if I can make one adobe. If so please tell me, if not can you inform me of any other way I can.

  • Subtotal in ALV tree

    Hi All, Is it possible to find the subtotal at each level of the tree using the function modules RS_TREE_CONSTRUCT and RS_TREE_LIST_DISPLAY? Thanks, Prasad

  • XMLP5.6.2 - template LOV under Layout definition is always empty !

    hi, I installed XML Publisher 5.6.2 + XML Publisher destop. I created a RTF template with MS WORD. I try to create a new Report (following the differents steps described by User Guide). Under Layout node, I uploaded the RTF template I created with MS

  • VCMA working on Blackberry Bold 9700

    Hi! FYI: I´ve tested the vCMA on a BB Bold 9700, is working fine... But the higher resolution of the display makes the fonts very small (on the logon screen). After the logon screen, it looks normally. But my question is when vCMA comes in a producti