[Mono-bugs] [Bug 52851][Maj] New - pl-PL Culture doesn't seem to work properly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Jan 2004 12:13:57 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tkaszuba@hotmail.com.


--- shadow/52851	2004-01-14 12:13:57.000000000 -0500
+++ shadow/52851.tmp.14717	2004-01-14 12:13:57.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 52851
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tkaszuba@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: pl-PL Culture doesn't seem to work properly
+When I added the culture attribute to the web.config file and then tried 
+to run my web application I get a NumberFormatException.
+The web.config file contains the following:
+            requestEncoding="ISO-8859-2"
+            responseEncoding="ISO-8859-2"
+            fileEncoding="ISO-8859-2"
+            culture="pl-PL" />
+I know that XSP loads the web.config file properly since it doesn't 
+complain so I'm assuming that it's a problem somewhere deeper. 
+Stack trace:
+System.FormatException: Unknown char: ,
+in <0x006a3> System.Double:Parse 
+in <0x00015> System.Double:Parse (string,System.Globalization.NumberStyles)
+in <0x00044> ICW.Presentation.CalcSavings:Convert (string,bool)
+in <0x00019> ICW.Presentation.CalcSavings:Convert (string)
+in <0x00225> ICW.Presentation.CalcSavings:CalculateTable (int,string,bool)
+in <0x00061> ICW.Presentation.CalcSavings:Update ()
+in <0x00089> ICW.Presentation.CalcSavings:ActTypeBank_SelectedIndexChanged 
+in <0x0005a> (wrapper delegate-invoke) 
+in <0x000a6> System.Web.UI.WebControls.ListControl:OnSelectedIndexChanged 
+in <0x0001c> 
+aisePostDataChangedEvent ()
+in <0x000b1> System.Web.UI.Page:RaiseChangedEvents ()
+in <0x00255> System.Web.UI.Page:InternalProcessRequest ()
+in <0x0008f> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in <0x00186> .ExecuteHandlerState:Execute ()
+in <0x0007d> .StateMachine:ExecuteState