Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 215109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:26:22+00:00 2026-05-11T18:26:22+00:00

I have what is probably a really simple, studid question but I can’t find

  • 0

I have what is probably a really simple, studid question but I can’t find an answer to it anywhere and I need to be pretty sure about this.

I have various XML files from various vendors. One of the vendors provide me an XML file with japanese characters in the file. Originally, I was having trouble processing the XML file (I’m using the MSXML SDK). The characters would come out wrong. I found that if the following was added to the XML file everything worked great.

<?xml version="1.0" encoding="UTF-16"?>

And so I asked the vendor to add this to their file. But they added it with the encoding in lower case:

<?xml version="1.0" encoding="utf-16"?>

And when I load this new file, with this declaration, I’m getting the same problem as when this declaration was not there.

What I’m trying to figure out (for sure) is if that encoding attribute is case sensitive (or is otherwise the problem). Does it matter that they put “utf-16” versus “UTF-16”?

Update: Under the advise of these who posted answers here, I setup and executed a test. One file had the lower case utf-16 and the other upper case. Other than that, the files were identical. This did not fix the problem and is not the problem. My conclusion is that MSXML is not case sensitive as the spec, posted in the answers, states.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:26:22+00:00Added an answer on May 11, 2026 at 6:26 pm

    I suppose the question is not really “is the standrard case-sensitive?” but “is the encoding case-sensitive in MSXML SDK?”

    From bytes.com:

    The XML spec says that processors “SHOULD” be match encoding names
    case-insensitively. “SHOULD” is a technical term, less strong than
    “MUST”, but I can’t see any reason why a processor would not do it.

    However, we know that this may not always be true in practice. If you can try both side-by-side, please do so and let us know what the result is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a really simple question and probably hard answer. How to add webpartzone
This is probably a really stupid MSBuild question but if I have <ItemGroup> <Dll
This probably has a simple answer, but I must not have had enough coffee
I know this is probably a really simple question but I'm having a brain
This is probably a really dumb question, but I'm finding conflicting information. I have
another fun (and probably really simple) question for you, that I have half worked
This probably sounds really stupid but I have noo idea how to implement jquery's
There is probably is simple fix for this but I currently have code similar
Ok. This is probably a really stupid question, but I'm going to ask it
This is probably a really simple thing, but I don't know how to implement

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.