Hi all, before all I wish you happy Easters :-) If somebody is stuck in work like me and solve strange coding problems, maybe he or she could help me :-) I can't say that my following question is an unsolveable problem, but if some solution exists, it will greatly improve my efficiency in DNN 4.x module developmnet.
We are developing DNN 4/ASP.NET 2.0 modules in Czech language. The problem is following: if I use some accented characters in some control at module frontend - ascx file, or in module code (*.vb), DotNetNuke will remove them at runtime. For example, if I set "Text" property of Label control (in Visual Studio 2005 Pro at design time) to eg. "Přihlášen:", after adding this module to some DNN pane, at runtime text control label becomes "Pihláen:", DNN removes characters ř and š. Of course, I can use Localization.GetString function to get correct translated text, but using Localization.GetString function for each control (labels, validators, grid column labels etc.) brings a lot coding... I don't want to have this module localised to another language, it will be always czech.
Yes, I use UTF-8 encoding and yes, ascx modules used outside DNN (not inherited from DotNetNuke.Entities.Modules.PortalModuleBase) works normaly - doesn't strip accented charas.
Does somebody have simillar problem? Thank you very much for solution.