Page 1 of 1

Error message problem

Posted: Fri 23 Aug 2019 08:00
by kyunghu
There is a problem with the error message
MariaDB has an problem with the error message(strange Characters Are Visible)
PostgreSQL is no problem

use Delphi 10.3, unidac 8.0.1

1. DB : MariaDB(setting to utf8)
SQL : SIGNAL SQLSTATE '90116' SET MESSAGE_TEXT = '你好안녕¡Buenos días!';
UniConnection1.SpecificOptions.Values['MySQL.UseUnicode'] := 'True';

except on E:EUniError do begin
E.Message rerult ==> #90116你�??�녕¡Buenos días!

2. DB : PostgreSQL(setting to utf8)
SQL : do $$
begin
RAISE EXCEPTION '%', '你好안녕¡Buenos días!' ;
end;
$$
UniConnection1.SpecificOptions.Values['PostgreSQL.UseUnicode'] := 'True';

except on E:EUniError do begin
E.Message rerult ==> 你好안녕¡Buenos días!

Re: Error message problem

Posted: Fri 23 Aug 2019 11:57
by ViktorV
Thank you for the information. We will investigate this UniDAC behavior and let you know the result.

Re: Error message problem

Posted: Thu 24 Oct 2019 12:53
by ViktorV
Unfortunately, we couldn't reproduce the issue.
Please, specify the locale on the client computer.
To learn the current locale, you can try to perform the following steps:
1. Click Start, then Control Panel
2. Click Clock, Language and Region
3. Windows 10, Windows 8: Click Region
Windows 7: Click Region and Language
Windows XP: Click Regional and Language Options
The Region and Language options dialog appears.
4. Click the Administrative tab
On Windows XP, click the Advanced tab
If there is no Advanced tab, then you are not logged in with administrative privileges.
5. The current locale is specified in the "Current language for non-Unicode programs"

Re: Error message problem

Posted: Fri 25 Oct 2019 01:41
by kyunghu
Let me know your email address and I will send you a video (video size 83mb)

Re: Error message problem

Posted: Fri 25 Oct 2019 05:31
by ViktorV
Please upload your attachments to the free file sharing service and send the link via the e-support form: https://devart.com/company/contactform.html

Re: Error message problem

Posted: Wed 30 Oct 2019 09:19
by ViktorV
Thank you for the information. We have already fixed the issue. This fix will be included into the next UniDAC.