TMyDump and Unicode - MyDac v7.2.7

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ioannisa
Posts: 13
Joined: Fri 19 Jun 2009 13:23

TMyDump and Unicode - MyDac v7.2.7

Post by ioannisa » Thu 28 Jun 2012 16:52

I am using version 7.2.7 of MyDAC with Delphi XE2 Update4 Hotfix1, and I am having the same problem as the one that was fixed in version 6.00.0.5 and discussed at
http://forums.devart.com/viewtopic.php? ... 435#p82435


Unfortunatelly the problem re-appeared and I found out at version 7.1. And problem is still there with the current version 7.2.7 of MyDAC.

When backing up with MyDac 7.2.7, I get greek unicode text like this in my files
Αξεσουάρ (Τσάντες, Ζώνες, Καπέλα

Again, the only way to backup normally is to disable unicode.

ioannisa
Posts: 13
Joined: Fri 19 Jun 2009 13:23

Re: TMyDump and Unicode - MyDac v7.2.7

Post by ioannisa » Fri 29 Jun 2012 11:50

Additional information that you might need is the following.

1) The error occured on the 32Bit version of your components (I haven't checked on 64bit).

2) The database I am backing up is EMBEDDED MySQL database (if it is related) and therefore the connection component related is EmbeddedConnection component.

Again the rest of the information as stated above is MyDAC v7.2.7 and DelphiXE2 Update4 Hotfix1.

If you need working sample to demonstrate the problem, please let me know.
Thank you

AndreyZ

Re: TMyDump and Unicode - MyDac v7.2.7

Post by AndreyZ » Mon 02 Jul 2012 10:02

When UseUnicode is set to True, data is encoded to the UTF16 format. When backing up to a file process is performed, data is stored to the UTF8 format. These formats are incompatible with each other. That's why you should disable the UseUnicode property and set the Charset property to UTF8 before backing up data.

ioannisa
Posts: 13
Joined: Fri 19 Jun 2009 13:23

Re: TMyDump and Unicode - MyDac v7.2.7

Post by ioannisa » Mon 02 Jul 2012 13:21

However this wasn't necessary before.

The system was working normally and after upgrading this occured. Should not be compatibility with the previous version of the components?

Therefore we shall expect this to be fixed on the next update?

AndreyZ

Re: TMyDump and Unicode - MyDac v7.2.7

Post by AndreyZ » Wed 04 Jul 2012 10:16

We will investigate this question.

cybsistemas
Posts: 118
Joined: Mon 12 Sep 2005 17:31
Location: Argentina

Re: TMyDump and Unicode - MyDac v7.2.7

Post by cybsistemas » Wed 04 Jul 2012 20:12

ioannisa is right

ioannisa
Posts: 13
Joined: Fri 19 Jun 2009 13:23

Re: TMyDump and Unicode - MyDac v7.2.7

Post by ioannisa » Tue 10 Jul 2012 15:42

Any news?

I am rolling back to previous versions. Lots of my customers have lost their backups and I am in trouble.

ioannisa
Posts: 13
Joined: Fri 19 Jun 2009 13:23

Re: TMyDump and Unicode - MyDac v7.2.7

Post by ioannisa » Thu 19 Jul 2012 16:07

I am expecting some comment please regarding how you address this issue.

The same issue was a bug being fixed on the past. We expect the same today. Behavior of the applications has changed. Its not - by any means - feature that needs to be addressed differently.

Its been several days without any reply regarding how you will address this problem.

Please reply!

AndreyZ

Re: TMyDump and Unicode - MyDac v7.2.7

Post by AndreyZ » Fri 20 Jul 2012 09:07

We will fix this problem in one of the following MyDAC builds.

Post Reply