Wrong BOM when using TUniDump

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Jens
Posts: 3
Joined: Wed 02 Jul 2014 08:01

Wrong BOM when using TUniDump

Post by Jens » Wed 02 Jul 2014 08:25

Hello,

i use TUniDump with MySql, using Unicode (UseUnicode = True in the Connection).
When i dump the data, a wrong BOM is in the dump-file. I also can not restore the dump-file to the database.
I get the following exception when restoring from this broken dump-file:
Parser: The unknown symbol '' $0004

I think, a wrong BOM is in the Dump-File.
I looks like this:
Image

If i manually change the file, using a Hex-Editor to look like this:
Image
then the restore works correcty.

Jens

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Wrong BOM when using TUniDump

Post by PavloP » Mon 07 Jul 2014 13:02

Thank you for the information.
We have reproduced the problem and investigation is in progress.
As soon as we solve the problem, we will let you know.

Jens
Posts: 3
Joined: Wed 02 Jul 2014 08:01

Re: Wrong BOM when using TUniDump

Post by Jens » Mon 07 Jul 2014 13:04

Thanks, Pavlo! :D

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Wrong BOM when using TUniDump

Post by PavloP » Mon 07 Jul 2014 14:43

If any other questions come up, please contact us.

Jens
Posts: 3
Joined: Wed 02 Jul 2014 08:01

Re: Wrong BOM when using TUniDump

Post by Jens » Mon 04 Aug 2014 05:21

Thanks for your fix in 5.3.10. Now it workes as desired. :D

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Wrong BOM when using TUniDump

Post by PavloP » Mon 04 Aug 2014 15:08

It is good to see that the problem has been solved.

Post Reply