Just a shot into the dark, but did you consider using an alias?

I frankly don't know if this solves the problem, but would expect so.

check firebird.conf and aliases.conf at the root of your local server.


~~~Ihre Nachricht~~~

MK> Hello.

MK> I would like to connect:
MK> * using .NET provider for FireBird
MK> * to local database (file)
MK> * using UTF-8 charset for communication with database
MK> * my database file path contains polish diacritical signs
MK> * path charset is Windows1250

MK> The problem is when I try to connect with specified UTF8 enabled 
MK> connection string,
MK> FireBird cannot recognize the path, because FB probably wants to read it
MK> as UTF-8 path.

MK> When path does not contain polish signs, FireBird connects properly.

MK> Below I paste my code:


MK> *sFilePath* is some path with polish diacritical signs.

MK> [code]

MK> sConnectionString = "ServerType = 1; User = SYSDBA; Password = 
MK> masterkey; Dialect=3; Database = '" + sFilePath + "'; CHARSET = UTF8";

MK> ConnectionStringBuilder fbConnectionStringBuilder = new 
MK> FbConnectionStringBuilder(sConnectionString);

MK> fbConnection = new FbConnection(fbConnectionStringBuilder.ToString());
MK> try
MK> {
MK>      fbConnection.Open();
MK> }
MK> [/code]

MK> Here goes exception.

MK> How can I connect using UTF-8 connection, but force FB to read properly
MK> the database path?

MK> Thanx for any help
MK> Marcin

---

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to