I'm having some problems using special characters with Web deployment project.
After processing the precompiled app using the aspnet_merge tool all special characters are removed from the .as*x files - including ã ç ó í ... (European / Portuguese characters).
I've updated the WDP to the latest version has you told me and i still have the error but my guess is that the problem now lays on the .net itself. Before the update, all the special characters where removed after deploying my project with WDP. Not anymore.
Now, after deploying my user controls with the WDP i check the html in the ascx and the special characters are still there. It's only when i run the page that they get removed!
Html inside ascx after deployment:
<div class="fullCalendar_DetalhesLabelDescricaoEvento">Localização do Evento</div>
Rendered Html after execution in browser:
<div class="fullCalendar_DetalhesLabelLocalizacao">Localizao do Evento</div>
Ok, you are going to say that i should use "Localização do Evento" but the fact is that even if i use "Localização do Evento" in a tooltip using the Tooltip property field from the Visual Studio Designer, i get the same problem. The special
characters are removed in runtime. I can't write tooltips with encoded html! It's insane!
Do you know any solution for this. Can you confirm that this is a .net 2.0 bug?
netflash
Member
49 Points
11 Posts
Special characters get removed with WDP.
May 06, 2006 06:19 PM|LINK
Hello,
I'm having some problems using special characters with Web deployment project.
After processing the precompiled app using the aspnet_merge tool all special characters are removed from the .as*x files - including ã ç ó í ... (European / Portuguese characters).
Any solution to avoid this?
Thank you.
BradleyB
Participant
1197 Points
230 Posts
Microsoft
Re: Special characters get removed with WDP.
May 08, 2006 10:44 PM|LINK
This was a problem in the previous releases for Web Deployment. Can you confirm that you have the lastest drop http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx
The version of "c:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0\Microsoft.WebDeployment.Tasks.dll" should be 8.0.60403.0
If you have that version and still have this problem please let us know.
Hope this helps,
Brad.
netflash
Member
49 Points
11 Posts
Re: Special characters get removed with WDP.
May 09, 2006 07:54 AM|LINK
I have checked and i still had the beta v2 version. I wiil try with the new one and if the error persists i'll post a message.
Thank you for your help.
netflash
Member
49 Points
11 Posts
Re: Special characters get removed with WDP.
May 12, 2006 10:47 AM|LINK
Hello again!
I've updated the WDP to the latest version has you told me and i still have the error but my guess is that the problem now lays on the .net itself. Before the update, all the special characters where removed after deploying my project with WDP. Not anymore.
Now, after deploying my user controls with the WDP i check the html in the ascx and the special characters are still there. It's only when i run the page that they get removed!
Html inside ascx after deployment:
<div class="fullCalendar_DetalhesLabelDescricaoEvento">Localização do Evento</div>
Rendered Html after execution in browser:
<div class="fullCalendar_DetalhesLabelLocalizacao">Localizao do Evento</div>
Ok, you are going to say that i should use "Localização do Evento" but the fact is that even if i use "Localização do Evento" in a tooltip using the Tooltip property field from the Visual Studio Designer, i get the same problem. The special characters are removed in runtime. I can't write tooltips with encoded html! It's insane!
Do you know any solution for this. Can you confirm that this is a .net 2.0 bug?
Thank you.
Themeros
Member
90 Points
25 Posts
Re: Special characters get removed with WDP.
May 15, 2006 05:25 PM|LINK
Ps: I don't want to use localization, so... how can I correct this bug?
netflash
Member
49 Points
11 Posts
Re: Special characters get removed with WDP.
May 15, 2006 10:14 PM|LINK
Not yet [:(] . I'm still waiting for anwser... If you find anything, please post it here. I will do the same.