Skip to Content

JDBC to XML file interface

Hi

in JDBC to XML file interface

i want to generate the XML file with encoding of ISO-8859-1 instead of UTF-8 which is normal encoding standard since i have to include foreign character

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 03:49 PM

    please have a look at SAP Note 831162

    i guess question # 2 deals with your requirement

    Thanx

    Aamir

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 04:19 PM

    Hi Gabriel Sagaya ...

    yes you can do it By setting receiver channel

    when you configure your receiver channel then in that under the tab " processing parameter " select file type as "Text"

    after that there will be a pop down in which you can give encoding type which you requie in your output

    for example in your case you fill up ISO-8859-1 as encoding type and save the configuration

    by this way you can get your desired output including foreign characters

    hope this may solve your problem

    Thanks

    Sandeep Sharma

    PS: If helpful please reward points

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 07:20 PM

    Hi Gabriel,

    Additing to your information after sandeep setting idea

    in data type as

    Text

    Under File Encoding, specify a code page.

    The default setting is to use the system code page that is specific to the configuration of the installed operating system. The file content is converted to the UTF-8 code page before it is sent.

    Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:

    1) US-ASCII

    Seven-bit ASCII, also known as ISO646-US, or Basic Latin block of the Unicode character set

    2) ISO-8859-1

    ISO character set for Western European languages (Latin Alphabet No. 1), also known as ISO-LATIN-1

    3)UTF-8

    8-bit Unicode character format

    4)UTF-16BE

    16-bit Unicode character format, big-endian byte order

    5) UTF-16LE

    16-bit Unicode character format, little-endian byte order

    6)UTF-16

    16-bit Unicode character format, byte order

    When you will go with this link.it will clear more to clear

    http://help.sap.com/saphelp_nw04/helpdata/en/e1/a63d40c6d98437e10000000a155106/frameset.htm

    follow this link go to Adapter/file/FTP adapter/configuring

    **PS:reward points if useful***

    Regards,

    Sumit Gupta

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.