Solved

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

Posted on 2009-07-01
2
560 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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, …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 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