Provide ability to suppress localized messages in error stack (or make them to
be encoded to required charset, say 'utf8')
--------------------------------------------------------------------------------------------------------------------------
Key: CORE-6470
URL: http://tracker.firebirdsql.org/browse/CORE-6470
Project: Firebird Core
Issue Type: Improvement
Reporter: 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\QA-rundaily>chcp
Active code page: 65001
C:\HQBWork\1IMPORTANT\QA-rundaily>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\QA-rundaily>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\QA-rundaily>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\QA-rundaily>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\QA-rundaily>chcp 1251
Active code page: 1251
C:\HQBWork\1IMPORTANT\QA-rundaily>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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel