C# Class MyAnimeListSharp.Util.Utf8StringWriter

MyAnimeList.net Anime/MangaValues XML requires UTF-8 encoding in the declaration. But StringWriter "advertises itself using UTF-16" http://stackoverflow.com/a/5248439/4035. So to return UTF-8 in the declaration, we need to overwrite encoding of string writer
http://myanimelist.net/modules.php?go=api#animevalues
Inheritance: System.IO.StringWriter
Show file Open project: dance2die/MyAnimeListSharp Class Usage Examples

Public Methods

Method Description
Utf8StringWriter ( StringBuilder sb ) : System.IO

Method Details

Utf8StringWriter() public method

public Utf8StringWriter ( StringBuilder sb ) : System.IO
sb System.Text.StringBuilder
return System.IO