I need to link to a URL that has a right single quotation mark in it (u+2019).
This is it: "/News/Case-Studies/UNICEF-Headquarters’-Redesigned-Lobby-Space"
When I paste the link in to a browser, it works.
When I create a link with this URL as the href and click on it, it works.
When I put it in a <CFLocation> tag, it does not work. I need to make this work.
When I take the URL from a browser address bar and paste it into a text editor, it converts the right single quote to the percent-encoded string "%E2%80%99". I have not been able to recreate this encoding. URLEncodedFormat() yields a completely different string.
When I parse the url and note the ASCii value of each character, I get three characters for the right single quote: 226 8634 8482.
I came up with an encoding that worked, but resulted in special characters in the address bar of the browser (don't remember what the technique was at this point).
What encoding can I perfrom at the CF server to duplicate the proper UTF8 encoded string of %E2%80%99?
Any help would be appreciated.