© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
7 replies
stigzler

❔ How to stop WebClient.DownloadString encoding apostrophies?

Does anyone know why WebClient.DownloadString encodes certain characters (e.g. apostrophe) even when .Encoding set to UTF8?
E.g. "If you don't shoot fast enough" comes back as: "If you don't shoot fast enough"
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ C# noob needs help retrying WebClient .DownloadString
C#CC# / help
2y ago
❔ Problem with WebClient
C#CC# / help
3y ago
❔ convert webclient code to httpclient code
C#CC# / help
4y ago
encoding to ANSI
C#CC# / help
2y ago