diff --git a/src/DatabaseLibrary/query.py b/src/DatabaseLibrary/query.py index a7dd68a..289d048 100644 --- a/src/DatabaseLibrary/query.py +++ b/src/DatabaseLibrary/query.py @@ -248,7 +248,7 @@ def execute_sql_script(self, sqlScriptFileName, sansTran=False): Using optional `sansTran` to run command without an explicit transaction commit or rollback: | Execute Sql Script | ${EXECDIR}${/}resources${/}DDL-setup.sql | True | """ - sqlScriptFile = open(sqlScriptFileName) + sqlScriptFile = open(sqlScriptFileName ,encoding='UTF-8') cur = None try: