mariuz / flamerobin

FlameRobin is a database administration tool for Firebird RDBMS. Our goal is to build a tool that is: lightweight (small footprint, fast execution) cross-platform (Linux, Windows, Mac OS X, FreeBSD) dependent only on other Open Source software
http://flamerobin.org
MIT License
211 stars 64 forks source link

Mac 14.0 Sonoma isc_attach_database failed #326

Closed rlakis closed 9 months ago

rlakis commented 9 months ago

I have been using Flamerobin for a long time on Mac; I upgraded to the latest OS version (Mac Sonoma 14.0), and then Flamerobin started raising SQLException on Connect.

Please take a look at the attached image.

Screenshot 2023-09-29 at 11 10 43 AM

Firebird isql and Lazarus/IBX compiled program working properly.

arvanus commented 9 months ago

Strange that ...descriptor from to UTF-8... looks like there is a from CHARSET lacking, can you confirm that it's correct both in the database and n the DB connection form? Thanks

rlakis commented 9 months ago

Just solved it with this hack Add this line to main.cpp

setlocale(LC_ALL, "en_US.UTF-8");

arvanus commented 9 months ago

Hi, I'm a bit concerned with this change, because not all users use en_US locale, there must be an better alternative Also, shouldn't this value come from the OS itself? Thanks