Skip to content

Seeing corruption of Japanese characters #1

@shufton

Description

@shufton

Was testing out client, and the japanese characters (all Hiragana, Katakana and Kanji) were decoded as ascii into garbage, rather than UTF8. This is from the use of WebClient.DownloadString(). I checked the headers, and they specify the correct encoding.

Changed this to DownloadData then Encoding.UTF8.GetString() and the problem is fixed. Will submit a patch as soon as I can work out how, as I have never used git before.

Environment: VS2012/Windows8/en-gb locale

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions