Solved

How do I add "encoding="utf-8" ?>" in XML by XML Serialization?

Posted on 2009-07-01
2
546 Views
Last Modified: 2012-06-27
How do I add following (code snippet) to my XML file generated by XML serialization:


What I want:
<?xml version="1.0" encoding="utf-8" ?> 
 
What I am getting:
<?xml version="1.0" ?>

Open in new window

0
Comment
Question by:meetpd
2 Comments
 
LVL 18

Assisted Solution

by:Ajay Sharma
Ajay Sharma earned 400 total points
ID: 24760746
0
 

Accepted Solution

by:
meetpd earned 0 total points
ID: 24775780
Found the solution. I am using search and replace operation on the file to achieve it.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question