Subject | Re: [firebird-support] About the file trouble in Firebird .NET Provider |
---|---|
Author | Helen Borrie |
Post date | 2010-01-13T19:43:18Z |
At 11:43 PM 13/01/2010, tankinguard wrote:
^ heLen ^
>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:You should subscribe to the firebird-net-provider list and ask your question there.
>
>byte[] databaseBuffer = this.Charset.GetBytes(database);
>
>Supposing the argument of the file name of isc_attach_database of API is ANSI char* type, I think that "byte[] databaseBuffer = System.Text.Encoding.Default.GetBytes(database);" is the right code.
>
>How do you think?
^ heLen ^