Description
Submitted by: @pavel-zotov
Attachments:
file-related-error-messages-in-localized-form.png
I can't understand for what reason FB utilities issue part of error messages in localized form.
Please provide ability either to fully supress such messages or make them be displayed in apropriate encoding, which must be equal to connection charset.
Please look:
C:\HQBWork\1IMPORTANT\QArundaily>chcp
Active code page: 65001
C:\HQBWork\1IMPORTANT\QArundaily>echo set names utf8; create database 'z:\nosuch_disk\no_such_folder\foo.fdb' user sysdba password 'masterkey'; | isql -q 1>isql-stdout.log 2>isql-stderr.log
C:\HQBWork\1IMPORTANT\QArundaily>type isql-stderr.log
Statement failed, SQLSTATE = 08006
Unable to complete network request to host "z".
-Failed to locate host machine.
-The specified name was not found in the hosts file or Domain Name Services.
// here we see all messages in ascii (good).
C:\HQBWork\1IMPORTANT\QArundaily>echo set names utf8; create database 'c:\no_such_folder\foo.fdb' user sysdba password 'masterkey'; | isql -q 1>isql-stdout.log 2>isql-stderr.log
C:\HQBWork\1IMPORTANT\QArundaily>type isql-stderr.log
Statement failed, SQLSTATE = 08001
I/O error during "CreateFile (create)" operation for file "C:\NO_SUCH_FOLDER\FOO.FDB"
-Error while trying to create file
-������� �� ������� ����� ��������� ����.
// here we can not read last line
C:\HQBWork\1IMPORTANT\QArundaily>chcp 1251
Active code page: 1251
C:\HQBWork\1IMPORTANT\QArundaily>type isql-stderr.log
Statement failed, SQLSTATE = 08001
I/O error during "CreateFile (create)" operation for file "C:\NO_SUCH_FOLDER\FOO.FDB"
-Error while trying to create file
-Системе не удается найти указанный путь.
// here we *can* read last line but we have to change code page to that Windows uses.
I can not imagine FB admin who will not be able to translate from english messages related to file/process access. Or at least to use goodle translate.