web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Martin Dráb Profile Picture
    235,934 Most Valuable Professional on at
    RE: XML encoding format

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

  • Usman Khan Profile Picture
    12 on at
    RE: XML encoding format

    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?

  • Verified answer
    Martin Dráb Profile Picture
    235,934 Most Valuable Professional on at
    RE: XML encoding format

    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.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Rahul Shah Profile Picture

Rahul Shah 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans