Search code examples
c#protocolsspecial-charactersquotesmailto

Special character equivalent for quotation mark


So I am trying to export some text from a Visual C# Windows Form string to an email to be sent, via mailto protocol (e.g. mailto:email@goldesanmartin.com), and I found out that I had to change my line breaks ("\r\n") to "%0D%0A" in order to be recognized by the protocol. I'd need the equivalent to a quotation mark for this. And also it would be good if you could tell me where to find any other special characters forbidden and their equivalents, in order to not be asking this again anytime. Thanks in advance


Solution

  • Well, Quotation Mark equivalents are here: http://www.fileformat.info/info/unicode/char/0022/index.htm

    I think this will solve your problem, You need to escape the character or using double quotation! from here you may find the links:

    Quotation Mark equivalents here: http://www.fileformat.info/info/unicode/char/0022/index.htm

    well, the problem being discussed already multiple times. you need to escape the character or using double quotation! here you find few useful links:

    How can I put quotes in a string?

    https://msdn.microsoft.com/en-us/library/267k4fw5(v=vs.90).aspx

    Hope this helps!