I have a connection string in my web.config which includes a password with the % character as below
<add name="ConnectionName"
providerName="System.Data.SqlClient"
connectionString="server=ServerName;database=DatabaseName;
uid=UserName;password=abcde%F9abcd;" />
Locally in VS2013 the connection string works fine but when published to the IIS8 web server via VS2013 and Web Deploy, something in that process manipulates the XML and changes the password section of the string to the following
password=abcdeùabcd
So it's turning the %F9
into ù
(unicode conversion).
I have tried encoding the % to 
which doesn't resolve the issue.
Is the problem something I can resolve with either escaping somehow or a configuration setting? Unfortunately I have no control over changing the password itself, it's supplied by a third party.
Integrated Security=True
and not set password 3) set UTF-8 for the files on web.config – Martial%F9
into ù tells me that somewhere down the line the password is being URL decoded. The url encoded value of%
is%25
– Rimma