[Mono-list] System.ArgumentException: Arg_InvalidUTF8

Gonzalo Paniagua Javier gonzalo@ximian.com
01 Mar 2003 00:21:40 +0100


El vie, 28 de 02 de 2003 a las 23:04, uvural escribió:
> Hi, 
> 
> i am using visual studio and my code works well when i compile it in 
> windows. i am using these libraries 
> 
>                System;System.Collections;System.ComponentModel;System.Data;
>                System.Drawing;System.Web;System.Web.SessionState;
>                
> System.Web.UI;System.Web.UI.WebControls;System.Web.UI.HtmlControls; 
> 
> and Latin-5 (Turkish) charset i try mcs command with diffrent parameters 
> (with utf8 charset also) but i always get this error message. Can somebody 
> give me the correct parameters? What i must do?
> Thanks:) 

Take a look at $PREFIX/etc/mono/machine.config. Search for
'fileEncoding'. The ASP.NET way of specifying the file encoding is that
but I still have to fix the encoding in a couple of places. Until it's
fixed, use gedit or any other UTF-8 aware editor and save your pages as
UTF-8.

-Gonzalo