Re: Getting around .Net Strings being UTF-16 encoded only
- From: "Oleg Tkachenko [MVP]" <some@xxxxxxxx>
- Date: Sun, 06 Nov 2005 11:23:31 +0200
Mike Murray wrote:
What I want to do is create the same file but from vb.NET, therefore that is why i'm using the XmlTextWriter code. Which makes sense to me, I just want to clarify that my code is correct, and i'm going about this the right way.
Yep, that's the right way. Just rely on .NET and XmlTextWriter to cope with encoding:
XmlTextWriter w = new XmlTextWriter("foo.xml", Encoding.UTF8);-- Oleg Tkachenko [XML MVP, MCAD] http://www.XmlLab.Net | http://www.XLinq.Net | http://blog.tkachenko.com .
- References:
- Getting around .Net Strings being UTF-16 encoded only
- From: Mike Murray
- Re: Getting around .Net Strings being UTF-16 encoded only
- From: Oleg Tkachenko [MVP]
- Re: Getting around .Net Strings being UTF-16 encoded only
- From: Mike Murray
- Getting around .Net Strings being UTF-16 encoded only
- Prev by Date: Re: Good XML-Database?
- Next by Date: Re: xsl:apply-templates dont get it
- Previous by thread: Re: Getting around .Net Strings being UTF-16 encoded only
- Next by thread: allow any child element in
- Index(es):