[Mono-bugs] [Bug 77711][Maj] Changed - Mono.Data.SqliteClient
throws exception retrieving non-ASCII data
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Mar 11 14:46:01 EST 2006
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 tauberer at for.net.
http://bugzilla.ximian.com/show_bug.cgi?id=77711
--- shadow/77711 2006-03-08 15:01:51.000000000 -0500
+++ shadow/77711.tmp.12242 2006-03-11 14:46:01.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 77711
Product: Mono: Class Libraries
Version: 1.1
OS: unknown
OS Details: Ubuntu/dapper
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Major
Component: Sys.Data.SqlClient
AssignedTo: tsenganal at novell.com
ReportedBy: hackel at walkingfish.com
QAContact: mono-bugs at ximian.com
@@ -99,6 +99,12 @@
------- Additional Comments From tauberer at for.net 2006-03-08 15:01 -------
And to correct myself, since Mono's Marshal.PtrToStringAnsi uses UTF-8
rather than actually ANSI, Sqite2 is actually using UTF-8 encoding by
default, but apparently a buggy unmanaged implementation of it.
Overriding with encoding=UTF-8 in the conn. string, which forces a
managed implementation, gets rid of the problem.
+
+------- Additional Comments From tauberer at for.net 2006-03-11 14:46 -------
+I've changed Mono.Data.SqliteClient to use the non-buggy String-To-Ptr
+functions, so Sqlite2 should now handle ANSI characters properly (by
+using UTF-8 encoding). I hope that fixes up F-Spot. Thanks for
+submitting the bug here.
More information about the mono-bugs
mailing list