[Mono-bugs] [Bug 73591][Nor] New - Mono.Data.Tds.Protocol.Tds doesn't recognize MS SQL 2000 server charset

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 11 Mar 2005 08:30:34 -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 dezelin@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=73591

--- shadow/73591	2005-03-11 08:30:34.000000000 -0500
+++ shadow/73591.tmp.28066	2005-03-11 08:30:34.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 73591
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Fedora Core 3 - Mono built frpm the latest SVN
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dezelin@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono.Data.Tds.Protocol.Tds doesn't recognize MS SQL 2000 server charset
+
+Description of Problem:
+
+Mono.Data.Tds.Protocol.Tds always defaults to "iso_1" sybase alias charset
+when communicating with MS SQL 2000 server.
+
+
+Steps to reproduce the problem:
+1. Create a new MS SQL 2000 server instance and set a codepage to a
+codepage different than iso-8859-1.
+
+Actual Results:
+All char data returned from the server is latin1 encoded.
+
+
+Expected Results:
+Data returned from the server should be encoded in MS SQL 2000 server
+defined encoding.
+
+
+How often does this happen? 
+Always
+
+
+Additional Information:
+I've sent a patch as the attachment. It just changes the appropriate line
+in Tds.cs to set the received charset when Tds protocol version is 7.
+
+Cheers,
+Aleksandar Dezelin