Skip to Content
author's profile photo Former Member
Former Member

Encoding - UTF-8 or utf-8 - Does the case matter ?

Hi ,

The xml document generated by the file adapter has the encoding as "UTF-8" in upper case.

We pass this xml as input to a Java Mapping and the resultant output document has "utf-8" in lowercase.

We are not doing any structure conversion in Java Mapping, what i mean to say is that we use the same Message Type as source & target for Java mapping. So the same document is the output , but some additional fields populated.

The difference we see is this "case". Does this matter ? If so , how can we suppress this behaviour ?

We are facing issues with XPATH formulae failing with the XML message that has "utf-8" in lowercase which is the output of Java mapping and suspect this could be the problem, Any thougths ?

Thanks

Saravana

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 01:07 PM

    I do not know for sure, but I would suspect that case would matter since Java is case-sensitive (unlike ABAP).

    Cheers

    Manish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 05, 2005 at 07:00 PM

    The official statement is:

    "The character set names may be up to 40 characters taken from the printable characters of US-ASCII. However, no distinction is made between use of upper and lower case letters."

    http://www.iana.org/assignments/character-sets

    If you have fear, that the utf-8 is making the trouble, just download the message from the runtime, change the charset and send the this message with the html test-tool.

    I hope that helps,

    Stefan

    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.