HTML french caracters -
09-23-2007
, 11:21 AM
Hi
I wonder if in .NET there is a solution to encode french caraters so
they can displuay correctly.
Up to now this is what i do :
content = content.Replace("é", "é");
content = content.Replace("É", "É");
content = content.Replace("è", "è");
content = content.Replace("È", "È");
content = content.Replace("ê", "ê");
content = content.Replace("Ê", "Ê");
content = content.Replace("á", "á");
content = content.Replace("Á", "Á");
content = content.Replace("à", "à");
content = content.Replace("À", "À");
content = content.Replace("ä", "ä");
content = content.Replace("Ä", "Ä");
ugly...
Thanks
John |