views:

366

answers:

2

I am copy pasting from an MS word document into an ASCX file. When I view the ascx file, the accented characters appear normally. BUT, when the page is rendered through my ASP.net application, the accented characters are broken:

Une promenade dans un verger ensoleillé, un peau de pêche délicatement parfumée… Les plaisirs du printemps vous attendent!

The page is specifying UTF-8 encoding which I believe is required to show them correctly.

<meta content="text/html; charset=utf-8" http-equiv="content-type" />

Normally, this works fine and the accented characters appear normally (other pages I have created on the same site still show correctly). BUT, now I can't seem to get this to work right. So previously, I have no issues with this, but now I cannot see what I have done different.

A: 
eglasius
Pasting in either code view or design view works fine, its only after these characters go through my application. The same application that displays the same characters on other pages normally.
Armitage
A: 

My ascx file was loaded into another ascx which was ANSI encoded. When I both were encoded UTF-8, the characters displayed normally.

Armitage