Open michaelpietzsch opened 3 years ago
I found the Issue. I had smiley charachter like this (🙂) in the db and it stopped everything. Can anyone check this out ?
I also noted it dosent seem to support charachters like Ü Ä Ö and so forth... can anyone help out here
I think you need to set Firebird charset to utf-8
I think you need to set Firebird charset to utf-8
Ive explicitly checked for that and i can confirm that the DB was already running on UTF8
@michaelpietzsch I think your query fails, you need to check error after loop
if selDB.Err() != nil {
...
}
I am currently working on a project to getting me started with golang / Firebird SQL and programming in general.
My Firebird SQL query works perfectly when run against the database:
However, when I run it in my code, I get an empty array as an answer. The small Firebird query in the comments works fine. It returns three columns and the struct is filled up as expected.
Command line output:
Golang Code