I'm trying to post the contents of a text file to a website. The problem is that when I call InternetCanonicalizeUrl, it removes all the newline characters. So if the text file looked like:
it gets encoded as
What is the correct way to post text to a website and keep the newline character intact?