[Mono-list] System.ArgumentException: Arg_InvalidUTF8

uvural uvural@netorbits.com
Sat, 01 Mar 2003 00:04:48 +0200


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:) 

System: mono-0.19;mcs-0.19 and modmono-0.3.4 Redhat-7.3 

Error
System.Web.HttpException:  ---> System.ArgumentException: Arg_InvalidUTF8
Parameter name: bytes
in <0x005ed> 00 System.Text.UTF8Encoding:InternalGetChars 
(byte[],int,int,char[],int,uint&,uint&,bool,bool)
in <0x00039> 00 .UTF8Decoder:GetChars (byte[],int,int,char[],int)
in <0x00374> 00 System.IO.StreamReader:ReadBuffer ()
in <0x000e0> 00 System.IO.StreamReader:Peek ()
in <0x0068c> 00 System.Web.Compilation.AspTokenizer:NextToken ()
in <0x0003e> 00 System.Web.Compilation.AspTokenizer:get_token ()
in <0x0011f> 00 System.Web.Compilation.AspParser:GetAttributes ()
in <0x00266> 00 System.Web.Compilation.AspParser:GetTag ()
in <0x00135> 00 System.Web.Compilation.AspParser:Parse ()
in <0x000a4> 00 System.Web.Compilation.PageCompiler:GenerateSourceFile ()
in <0x0004f> 00 System.Web.Compilation.PageCompiler:GetCompiledType ()
in <0x000ef> 00 System.Web.Compilation.PageCompiler:CompilePageType 
(System.Web.UI.PageParser)
in <0x0000e> 00 System.Web.UI.PageParser:CompileIntoType ()
in <0x0005c> 00 System.Web.UI.TemplateControlParser:GetCompiledInstance 
(string,string,System.Web.HttpContext)
in <0x0004c> 00 System.Web.UI.PageParser:GetCompiledPageInstance 
(string,string,System.Web.HttpContext)
in <0x00014> 00 System.Web.UI.PageHandlerFactory:GetHandler 
(System.Web.HttpContext,string,string,string)
in <0x001a5> 00 System.Web.HttpApplication:CreateHttpHandler 
(System.Web.HttpContext,string,string,string)
in <0x00094> 00 .CreateHandlerState:Execute ()
in <0x00092> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
 --- End of inner exception stack trace ---