[FB-Tracker] Created: (DNET-705) FBStatistical does not like pathes to database with non ascii characters in it

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (DNET-705) FBStatistical does not like pathes to database with non ascii characters in it

JIRA tracker@firebirdsql.org
FBStatistical  does not like pathes to database with non ascii characters in it
-------------------------------------------------------------------------------

                 Key: DNET-705
                 URL: http://tracker.firebirdsql.org/browse/DNET-705
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 5.0.5.0
         Environment: Windows 10 (de locale), Visual Studio 2015, Firebird Embedded 2.5.6 and 3.0.1
            Reporter: Ralf Jansen
            Assignee: Jiri Cincura


Trying to use FBStatistical against a database residing in a path with non-ascii characters (like german umlauts) fails with a Exception that the database can't be opened

Sample  

   FbStatistical stat = new FbStatistical();
   stat.ConnectionString = "server type=Embedded;character set=UTF8;initial catalog=C:\MyLovelyFolder\aö\database.fdb;user id=SYSDBA;password=masterkey;pooling=False;client library=C:\Firebird_x64\fbembed.dll"
   stat.Options = FbStatisticalFlags.HeaderPages;
   try
   {
       stat.Execute();
   }
   catch (FbException ex)
   {
       ....
   }

will result in an "Can't open database file C:\\MYLOVELYFOLDER\\Aö\\DATABASE.FDB" with ErrorCode 336920605 Exception.
Interesting sidenote the internal uppercasing ignored the ö umlaut.




--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider