Cannot get encoding correct using ABAP XML

I need to transform data using ABAP transforms and the DOM.
I'm expecting to get a string like this out of the DOM tree when I call IF_IXML_NODE->GET_VALUE( ):
Jukan testityö
Instead I get:
Jukan testityA¶
(This is finnish).
The inbound XML is UTF-8 encoded, and the text is fine when browsing.
I have two issues:
1) When I call CALL TRANSFORM and my xslt code has <xsl:output encoding="utf-8"/>, it works with the XSLT_TOOL in test mode and sets the encoding for the transformed XML as UTF-8. However, when I call CALL TRANSFORM in the program, the encoding of the transformed file is "iso-8859-1". I cannot change the encoding, even if using CALL TRANSFORMATION with OPTIONS xml_header = 'full'. How can I do that?
I have tried to use the SET_ENCODING methods of the if_ixml_istream and if_ixml_document objects like this:
l_encoding = l_ixml->create_encoding( byte_order ='1', character:_set = 'utf-8' ).
l_istream->set_encoding( encoding = l_encoding ).
and this still does not work.
Any idea how I can correctly render my xml to correctly display finnish characters?
BR,
Tony.

Ever managed to get this done?
Tried "UTF-8" in capitals?
Ciao
Alex

Similar Messages

  • I cannot get to or use my home pc for a while and am staying with a friend for the foreseeable and am using their pc to write this. How do I access my itunes account on their pc. Thanks Karen

    I cannot get to or use my home pc for some time and am staying at a firends and using their pc to write this. I need to access my itunes account and music on their pc. How do I do this. Thanks

    An easy route would be to use the iTunes Match service such that all your Songs are available anywhere over the internet via iCloud.  Once complete you can create an account on your friends PC, download iTunes and sign-in to the iTunes Store with your Apple Id, start iTunes Match and it will provide access to all your Songs.
    Not quite so good, is simply to follow the steps on your friends PC as above, however, instead of iTunes Match simply access the 'purchased' songs area from the iTunes Store home page that will give you access to all your purchases without iTunes Match.
    IMPORTANT:  Apple only like to see a single Apple Id associated with one device - so if your friend already has an active Apple Id account on the PC, it would be wise to use an alternate machine.  Apple has a 90 day lock out associated with switching Apple Ids on a common device.

  • 5130 cannot get phone connection, using as modem

    Recently purchased 5130 to use as modem for my laptop.  Am using sim card from primary phone to access internet (primary phone has internet service), and connection with USB cable.  Downloaded PC suite, have Vista OS.  Have set specs to phone and internet provider (AT&T) but cannot get connection.  Error display says cannot get phone connection.  Phone works in phone mode, although cannot see contacts.
    ( I have a new bluetooth USB adaptor, but do not want to open package if I can get cable to work.  No point in opening blue tooth yet as cannot even get phone connection.)
    Any advice? 

    Hello, dthurnherr.
    Thank you for visiting Apple Support Communities.
    Here are a couple troubleshooting articles that I would recommend going through when experiencing this issue.
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/ts4185
    Unable to make or receive FaceTime calls after April 16, 2014
    http://support.apple.com/kb/TS5419
    Cheers,
    Jason H.

  • Cannot get web service using 2-way SSL to work

    WebLogic 8.1 sp4, using jdk 1.4.2_05 within BEA install dir (not JRockit). Also using WLWorkshop.
    I'm trying to call a web service provided by a third-party requiring 2-way SSL; The third-party provided a server cert to trust and a key/cert to use from our client. After updating my key and trust stores, I'm able to run this with no problem from another web service test product (CapeClear).
    How does one do this from WLS? I did the following (nothing has worked):
    - Started my WLS server; using the console, updated the Configuration|Keystores & SSL section and restarted - the console output indicates that all loaded correctly. I also changed the option on Two Way Client Cert Behavior to 'Client Certs Requested and Enforced'.
    - Updated my setDomainEnv.cmd to include the following options -Dweblogic.security.SSL.ignoreHostnameVerify=true -Dweblogic.security.SSL.enforceConstraints=off; I also added the -Dssl.debug=true -Dweblogic.StdoutDebugEnabled=true options.
    - Within Workshop, created my web service control from the provided WSDL and generated a test JPF; when I run the test, I get an exception related to an invalid content type (text\html). This occurs because the client-side SSL piece did not take place and the client was presented with a login-page rather than a web-service XML result.
    - I updated the JDK security jars with domestic strength algorithms; no change in behavior.
    - No SSL errors in the debug trace (I can provide log upon request).
    What other parameter and/or setting do I need to update to get this to work?
    Any help would be tremendously appreciated.
    Thanks,
    Rick

    I too am struggling with SSL but I was given some help by BEA. This does not help me since It seems like the proxy jar I download from the WS Home Page wants to go directly to the JPD not the jws. This example of two way SSL should work for you. I am including the Main class but not the generated files it refers to. I don't know how to attach files to the news groups. The key thing it to make use of the adapters. The Impl and Port are part of the downloaded proxy.
    public static void main(String[] args) throws Exception {
    // set weblogic ServiceFactory
    System.setProperty("javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
    // set weblogic client protocol handler
    System.setProperty("java.protocol.handler.pkgs", "weblogic.webservice.client");
    // set the SSL adapter
    SSLAdapterFactory adapterFactory = SSLAdapterFactory.getDefaultFactory();
    WLSSLAdapter adapter = (WLSSLAdapter) adapterFactory.getSSLAdapter();
    // two-way SSL you must loadLocalIdentity to provide certs back to the server
    FileInputStream clientCredentialFile = new FileInputStream ("./client/clientcred.pem");
    String pwd = "canpass";
    adapter.loadLocalIdentity(clientCredentialFile, pwd.toCharArray());
    adapter.setVerbose(true);
    adapter.setTrustedCertificatesFile("./config/ca1024.pem");
    adapter.setStrictChecking(false);
    adapterFactory.setDefaultAdapter(adapter);
    adapterFactory.setUseDefaultAdapter(true);
    String a = null;
    if (args.length < 1) {
    a = "Sample String";
    } else {
    a = args[0];
    ToUpper_Impl lookup = new ToUpper_Impl();
    ToUpperPort value = lookup.gettoUpperPort();
    String result = value.toUpper(a);
    System.out.println(result);
    }

  • Status change of Single correction using Abap report

    Hi Experts,
    I have a requirement to change the status of Single correction CR's to "completed" and also set the preceding document to appropriate status . I am using the function module CRM_ORDER_MAINTAIN followed by ORDER_SAVE to do so.
    But this does not change the status.
    Please let me know if there is anything that has to be done while changing the status of CR through an ABAP Report.
    Thanks in advance for ur help.
    Rithesh

    Use function CRM_STATUS_CHANGE_EXTERN and also CRM_ORDER_SAVE and commit at the end.

  • Cannot get printer online using airport express-totally confused right now.

    Well, I got my airport express up and running. My iMac is in one room and the airport and the printer are in the other room (it is a second printer). My first printer is connected to my iMac via USB.
    Cannot, for the life of me, get the printer in the other room, online, using airport. What am I doing wrong? I am clueless when it comes to these things, so it is probably something simple (and yes, the power in plugged in and on, lol).
    I went to System Preferences>Print & Fax and it shows the printer OFFLINE, DEFAULT, but I am lost from here.
    Thanks!!

    I'm suffering from the same problem. Printer is HP Color Laserjet 2600n with driver 1.3.1, MAC OSX 10.6.1. Setup is airport extreme as router and gateway + airport express as wireless connection for the printer. Following the airport express help doesn't help. Next test is to check whether the printer work as a network printer when connected to the airport extreme station directly. Keep you updated on the progress.

  • Cannot get the correct data type in Oracle JDBC

    Dear ALL:
    I used JDBC ResultSetMetaData to get the column data type for Oracle Database. I created a table including 2 columns AAA, which is NUMBER type, BBB which is FLOAT type.
    However, I found a problem that either NUMBER or FLOAT data types are reported as NUMBER type in JDBC.
    IN SQL 2000, it is okay. SMALLINT, INT, TINYINT, etc..can be reported correctly.
    Can anybody tell me that what's wrong here? I will be very appreciated.

    hi,
    i guess its a bug which is fixed with 10i.
    Elango.

  • Dreamweaver CS4 Cannot get Spry.Data.NestedXMLDataSet with XML to work

    Please help!
    I've created a page in Dreamweaver CS4 with a spry dataset. This works great. I've downloaded Spry.Data.NestedXMLDataSet and installed it but I keep getting an error that nested datasets are not supported.
    Thoughts solutions.
    Thanks,
    M

    I have found the reason that I could not make it work, I did not have the correct JavaScript file installed. 
    Having made the correction, here is a code that does work but most likely does not have the formatting that you want. I will leave that up to you.
    <!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:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryNestedXMLDataSet.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.XMLDataSet("scoring2.xml", "wcartist/mainartist");
    ds1.setColumnType("picture", "html");
    ds1.setColumnType("biotext", "html");
    ds1.setColumnType("audioplaylist", "html");
    var ds2 = new Spry.Data.NestedXMLDataSet(ds1, "videos/videochild");
    ds2.setColumnType("videothumb", "html");
    ds2.setColumnType("videourl", "html");
    //-->
    </script>
    </head>
    <body>
      <div class="MasterDetail">
        <div spry:region="ds1" class="MasterContainer">
          <div class="MasterColumn" spry:repeat="ds1" spry:choose="">
            <div spry:when="{ds_CurrentRowNumber} == {ds_RowNumber}" spry:setrow="ds1" spry:select="select" spry:hover="hover" spry:selected="">{artistnamebtn}</div>
            <div spry:default="" spry:setrow="ds1" spry:select="select" spry:hover="hover">{artistnamebtn}</div>
          </div>
        </div>
        <div class="DetailContainer">
          <div spry:detailregion="ds1">
            <div class="DetailColumn">{genre}</div>
            <div class="DetailColumn">{picture}</div>
            <div class="DetailColumn">{artistnameblock}</div>
            <div class="DetailColumn">{biotext}</div>
            <div class="DetailColumn">{audiotracklist}</div>
            <div class="DetailColumn">{audioplaylist}</div>
          </div>
          <div spry:region="ds2">
              <p> </p>
              <p>videos</p>
              <div spry:repeat="ds2">     
              <p>{videoname}</p>
              <p>{videothumb}</p>
              <p>{videourl}</p>
              <p> </p>
            </div>
          </div>
        </div>
        <br style="clear:both" />
      </div>
    </body>
    </html>

  • [internalization] cannot get the correct local lang

    Hi there,
    I'm trying to develop an application based on the Internalization tutorial.
    I'm not getting any errors by the server, but the application doesn't change the local language.
    In the HTTP monitor I've got the following header parameter sent by the browser:
    accept-language it,it-it;q=0.8,en;q=0.5,en-us;q=0.3
    In the faces-config.xml
    <application>
        <locale-config>
          <default-locale>en</default-locale>
          <supported-locale>it</supported-locale>
        </locale-config>
      </application>In anycase I always get the en version.
    Is there anybody who can give some suggestion on how to find and correct the problem?
    Thanks in advance.
    Alessandro Ilardo

    ? question ?
    When the application is called for the first time by a browser, should it automatically detects the language? And consequently response with the correct language without displaying the default lang?

  • Cannot get artwork correct/ consistent betweenTouch& Itunes

    My new 64 GB Touch. I tried using iTunes, not very helpful , I also use Media Monkey now. Better. I just got about 80% of my pod artwork right(mind you I have only loaded about 10 GB's on so far). So yesterday I sync with iTunes to load a new App, and wow! almost all of my corrected artwork has been stripped of of my Pod! Not just wrong.. but blanked out!Talk about frustrated. Perhaps someone can assist. Also i tend to load one album at a time to build my collection. Is syncing really meant for just large chunks of music from a playlist? No one has defined syncing this specifically, but thought Id ask. I wish the Bro's @ Apple would be more specific in their instruction set....Thanks

    iTunes 12.1 should support three ways to add artwork using existing image files on your PC, all starting with right-click > Get Info and then the Artwork tab,  Then:
    click the Add Artwork button, navigate to and select an image file on your computer, or
    drag and drop an image file from your computer to the Artwork tab, or
    copy an image to the clipboard, for example, from a web page, go to the Artwork tab and press Ctrl-V (the right-click > Paste option that was available in prior releases is not available in iTunes 12.0 or 12.1)
    However, there are three cases in which you can follow these procedures but artwork is not correctly associated with or embedded in your media files:
    your media are in a format that doesn't accommodate embedded artwork - typically WAV files.  To embed artwork you'll need to convert to another format - Apple Lossless or AIFF if you want to preserve lossless quality, AAC or MP3 otherwise.
    your media files are read only - to fix this, use Windows Explorer to find the folder that contains your files, right-click and select Properties.  On the General tab there's a check box labeled "Read-only" - if this is checked, or is grey (sometimes blue), click the box so that the flag is unchecked and the box is white.  Click OK, and then OK again when the "Apply changes to this folder, subfolders and files" option selected.  Now try adding the artwork again.
    Windows permissions issues are preventing iTunes from updating your media files (there's some anecdotal evidence of a change in this behavior in iTunes 12).  See turingtest2's notes on Repair security permissions for iTunes for Windows for advice on fixing this, then try adding the artwork again.

  • Cannot get the correct printouts

    I am using a Website called WebAssign.  It is for Math homework.
    Our answers are typed into a box and then we are told if the answer is correct or not by a green checkmark or a red X.
    When you right click inside the box, it says it is Adobe Flash Player 15.0.0.239.
    I see everything correctly on the screen - but when I try to print to my printer or print to a .pdf file, there simply is NO answer box.
    All you see is a green checkmark or a red X outside what used to be the answer box.
    The only way for me to get a print out of my work is to take individual screenshots.  With over 100 questions on each assignment this is maddening.
    I have tried with 2 different browsers and each time it is the same.

    Read Before Posting: How To Get A Useful Answer To Your Question

  • Getting delivered Quantity using ABAP Program

    Dear All,
    How can I get the delivered quantity against a sales order document (Orders in VA03).?
    Which tables are involved.? How can I  join the tables.?
    Regards,
    Aneel

    Aneel,
    You should take the sales order number and item number and find the corresponding lite item in the delivery. The field LFIMG in LIPS will tell you the quantity that is delivered.
    For sales order, you can use VBAK/VBAP
    For Delivery you can use LIKP/LIPS.
    Thanks,
    Vikram.M

  • Cannot get FLV transparency using iFrame

    Hi
    I need some advise... I can get transparency in Firefox, Safari, and Chrome, but not in IE.
    I have used wmode=transparent in a dozen different ways, read a dozen online advise places but nothing, if you check out my site with safari and then use IE you will see what I mean. Could iweb be writing some code that screws this up?
    any info helpful, thanks, using iweb '08

    Certainly, but that's exactly the problem. About half the users of the internet still browse with IE for probably no other reason than being used to. Reason also, why we have to come up with workarounds or simply do without the elements we wanted to incorporate, because every one in two users will not be able to enjoy our sites. Reason on top of all, why we often need to have an extra browser alongside Safari to view the sites that were specifically written for IE with utter disregard and disdain for other browser (you know, the other half of the world).
    Ah well, you got to love the globalization…

  • Cannot get into BIOS using F1 or Enter

    I'm at a complete loss here. Brand new T430. I changed the settings in BIOS to UEFI and installed Windows 7 x64 successfully. But I can no longer get into the BIOS. F1, F12, Enter nothing works.
    Please help!
    Thanks much!!
    Solved!
    Go to Solution.

    Hi someotherguy,
    Can you help me with this problem?
    I hit enter to stop the normal boot and then appear a window to select different options:
    - F1: Enter BIOS
    - Another one I don't remember
    - F12: Select bootable device
    Any of the menus I've tryied to enter I got a message afterwards saying:
    "Intel Boot Agent GE v1.3.81
    PXE 2.1 Build 091 WfM 2.0)"
    And just stays there. Nothing happens.
    After pressing F1 or F12 or other, I got a small message saying press CTRL+S to enter the setup menu. If I press it, I enter in a menu just to change the amount of time that message appear and if I want it or not.
    Can you help me?
    I need to activate the virtualization on the BIOS in order to setup virtual machines!

  • Cannot get itunes to use external hd as primary hd

    PLEASE Help me
    i lost all my music because i thought everything was peachy and it wasnt. i tried to change my prefferences to read only from my external lacie hd. but that didnt work and i ended up loosing all my music if some one could please help me out to get this working that would be awsome. because i wanna start ripping my dvds on here as well for my apple tv and im scred im gonna end up needing a bigger computer or something PLEASE HELP

    Hi, Lars -<menu>"..but is it safe to delete everything from my internal HD now.."</menu>Assuming you've been able to boot from the external, it's probably safe.
    You might want to consider leaving the OS in place on both disks, though. I've found it very convenient to be able to boot from the other disk when something goes wrong with the OS I normally run - much more convenient than rummaging for removable bootable media.

Maybe you are looking for

  • Interactive buttons no longer are aligned CS4

    Has anyone figured out how to align buttons? When I convert any object to a button and then export the file to a .swf, the button no longer aligns with other objects. The alignment is correct in the InDesign file but not in the swf. Even when a butto

  • Apple TV bought in Japan, used by American help

    I just bought Apple TV in Tokyo Japan. But when I hooked it up I changed all the languages to English but a lot of the movies (and pretty much all of the movie titles) are in Japanese.  Is it because I bought it here? And can that be changed?

  • Regarding select query Issue

    Hi ABAPERS,       I had written one written one 'select single' query to retrieve the data from PRPS table. but what the data was selecting for OBJNR (Object number)field based on PSPNR(WBS element) . That OBJNR values in the report is totally differ

  • How can I return a book and get my money back?

    I downloaded a book and I want to return it and get my money back.

  • Print postscript files from flash cs3 to get vector information

    I've been playing around with some dynamic flash paintings and would like to export the vector information. I've tried choosing "print--save pdf--save pdf as postscript" I installed Adobe's PS drivers. I set up a virtual printer on localhost using Ad