Error message problem

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kyunghu
Posts: 4
Joined: Thu 22 Aug 2019 02:16

Error message problem

Post by kyunghu » Fri 23 Aug 2019 08:00

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!

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error message problem

Post by ViktorV » Fri 23 Aug 2019 11:57

Thank you for the information. We will investigate this UniDAC behavior and let you know the result.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error message problem

Post by ViktorV » Thu 24 Oct 2019 12:53

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"

kyunghu
Posts: 4
Joined: Thu 22 Aug 2019 02:16

Re: Error message problem

Post by kyunghu » Fri 25 Oct 2019 01:41

Let me know your email address and I will send you a video (video size 83mb)

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error message problem

Post by ViktorV » Fri 25 Oct 2019 05:31

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error message problem

Post by ViktorV » Wed 30 Oct 2019 09:19

Thank you for the information. We have already fixed the issue. This fix will be included into the next UniDAC.

Post Reply