Suggestion: add "Encoding" parameter to TIBCScript.ExecuteFile()

Suggestion: add "Encoding" parameter to TIBCScript.ExecuteFile()

Hi,

my database is all UTF8. If I load a script in UTF8 format(*) using TIBCScript.ExecuteFile(), all german "umlauts" are scrambled. Funny enough, if I set "UseUnicode" option of TIBCConnection to FALSE, then it loads correct. But then all other inserts using TIBCQuery and TIBCTable give scrambled umlauts.

Solution is, loading it into TStringList via LoadFromFile(filename, TEncoding.UTF8), assign this to the SQL property and then call the Execute method. 


(*) I tried with or without BOM, makes no difference.

(IBDAC 9.10, Firebird 5.0)