I'm developing the database program using Firebird .NET Provider with C#.
However, when trying creation the database file containing multi-byte
characters, it occurs I/O Error. When I looked into the source code of .NET
Provider(v2.5.1), there was a strange point at FesDatabase.cs / Line 203:

byte[] databaseBuffer = this.Charset.GetBytes(database);

Supposing the argument of the file name of isc_attach_database is ANSI
char* type, I think that "byte[] databaseBuffer =
System.Text.Encoding.Default.GetBytes(database);" is the right code.

How do you think? 

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to