[Mono-devel-list] Character encoding problem

Hubert FONGARNAND informatique.internet at fiducial.fr
Thu Jun 23 10:45:28 EDT 2005


Le Jeudi 23 Juin 2005 15:07, Gonzalo Paniagua Javier a écrit :
> On Thu, 2005-06-23 at 13:06 +0200, Hubert FONGARNAND wrote:
> > I have an issue with accentued characters encoding (in french) in APS.NET
> > I've a little VS 2003 Project attached ...
> > With MS.NET the result is :
> >
> > Label Dynamique : accent aigu : é accent grâve è
> > Statique: Accents : éèê
> > Label HTML : Accents : éèèèê
> > fr-FR
>
> [...]
>
> > Apparently : i get problems only with accent in aspx pages. The
> > dynamically generated accents are correctly encoded in utf-8.
> > It seems that the conversion iso-8859-1 to utf-8 doesn't work correctly
>
> It was a regression in CodeDom. Before June 11th, it used Encoding.UTF8
> when writing its temporary files, but a patch that day removed the
> encoding accidentally.
>
> It's fixed in svn now.

Ok there's no more problems for labels...
but, I'm sorry but this bug is not yet closed... Maybe it's another
problem but...
I'm working for DropDownList in ASP.NET

On MS.NET the compiled html is :
<select name="DropDownList1" id="DropDownList1" style="Z-INDEX: 102;
LEFT: 40px; POSITION: absolute; TOP: 112px">
	<option value="Accent aigu : é">Accent aigu : &#233;</option>
	<option value="Accent grâve : è">Accent gr&#226;ve : &#232;</option>
</select>

On Mono the compiled html is :

<select name="DropDownList1" id="DropDownList1"
style="height:24px;width:280px;Z-INDEX: 102; LEFT: 40px; POSITION:
absolute; TOP: 112px"><option value="Accent aigu : &#64769;">Accent aigu :
&#64769;</option>
<option value="Accent gr&#64762;ve : &#64768;">Accent gr&#64762;ve : 
&#64768;</option>
</select>

There's two problems in fact: the html encoding is bad and the value
parameter is bad encoded...

See my attachment



>
> -Gonzalo
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testaccents.tar.gz
Type: application/x-tgz
Size: 14621 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050623/222e4f85/attachment.bin 


More information about the Mono-devel-list mailing list