web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

XML encoding format

(0) ShareShare
ReportReport
Posted on by 12

Hi,

I have an issue that is, i have generated a xml file. Now when we open the xml through browser we are getting encoding as "UTF-8"(Upper case) whereas if we open the same xml using notepad++ we are getting encoding as "utf-8"(Lower case) as shown below,

when opened in IE

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

when opened with Notepad++

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

we need to print encoding in uppercase in notepad as well as it is printing in IE.

For generating Xml file we have used Xml Stylesheet as- 

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

<xsl:stylesheet><xsl:output method="xml" encoding="UTF-8" />

How can we achieve it?

Thanks in Advance.

Usman

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,959 Most Valuable Professional on at

    You're confusing visualization with the actual file content. Press Ctrl+U in the Internet Explorer to see the source code - it's indeed in lowercase; the browser merely displays it differently.

  • Usman Khan Profile Picture
    12 on at

    Thanks for the reply,

    So how can we get encoding display in upper case for notepad,  i tried by using the encoding as "UTF-8"(upper case <xsl:stylesheet><xsl:output method="xml" encoding="UTF-8" />) in style sheet, but still i am getting encoding in lower case?

  • Martin Dráb Profile Picture
    237,959 Most Valuable Professional on at

    Why do you care at all? Both mean exactly the same thing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans