| Author |
Message |
ladenedge
Joined: 11 Jan 2012 Posts: 2 Location: United States
|
Posted: Wed Jan 11, 2012 5:27 pm Post subject: SyncScriptEncoding UTF8 includes a preamble |
|
|
It says in Switches used in the command line that the default should result in a UTF-8 encoding without a BOM. However, when I omit this switch in Data Compare 9, I do indeed get a BOM. In addition, I tried explicitly setting the option in all of the following ways:
- /SyncScriptEncoding:UTF8
- /SyncScriptEncoding:UTF8WithPreamble
- /SyncScriptEncoding:UTF8WithoutPreamble
All of them seem to result in a UTF-8 file that includes a BOM. The ASCII argument worked as advertised.
I feel pretty certain this option is broken, but perhaps I was missing something on my end? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Thu Jan 12, 2012 2:10 pm Post subject: |
|
|
Thanks for letting us know about this. I have logged a bug with reference number SDC-1301 so this will get fixed.
Regardless of whether you use UTF8 or UTF8WithPreamble, the preamble gets written to the file, contrary to the documentation. I had a look at the bytes of the sync script file, and with either option the file starts with xEFBBBF. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group