Page 1 of 1

Wrong BOM when using TUniDump

Posted: Wed 02 Jul 2014 08:25
by Jens
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

Re: Wrong BOM when using TUniDump

Posted: Mon 07 Jul 2014 13:02
by PavloP
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.

Re: Wrong BOM when using TUniDump

Posted: Mon 07 Jul 2014 13:04
by Jens
Thanks, Pavlo! :D

Re: Wrong BOM when using TUniDump

Posted: Mon 07 Jul 2014 14:43
by PavloP
If any other questions come up, please contact us.

Re: Wrong BOM when using TUniDump

Posted: Mon 04 Aug 2014 05:21
by Jens
Thanks for your fix in 5.3.10. Now it workes as desired. :D

Re: Wrong BOM when using TUniDump

Posted: Mon 04 Aug 2014 15:08
by PavloP
It is good to see that the problem has been solved.