Hi, the following combination throws a CreateFile error:
* Firebird .NET Data Provider Version 2.1.0 * Firebird Embedded Version 2.0 or 2.1.1 (tried both) * UTF8 encoding set via connection string * Database path contains non-ASCII characters * FbConnection.Open(); The cause for the problem seems to be that Firebird Embedded always expects the database path to be in ANSI format, regardless of the charset specified. I was able to fix the problem by patching FesDatabase.cs. In both Attach() and CreateDatabase(), I've changed the line byte[] databaseBuffer = this.Charset.GetBytes(database); to byte[] databaseBuffer = Encoding.Default.GetBytes(database); Stefan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider