Bug #13251 Creates.sql starts with feff
Submitted: 16 Sep 2005 1:16 Modified: 12 Apr 2006 8:03
Reporter: Carl Karsten (Silver Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Preview Severity:S2 (Serious)
Version:1.0.2 OS:Windows (win)
Assigned to: Mike Lischke CPU Architecture:Any

[16 Sep 2005 1:16] Carl Karsten
Description:
hexdump Creates.sql |less

0000000 feff 002d 002d 0020 002d 002d 002d 002d

How to repeat:
create a table, File, Export, SQL Script, save.
Look at file, see first 2 bytes arn't normal text.
[16 Sep 2005 18:17] Jorge del Conde
Gui Team:

I'm not sure if this is a bug or not.  Indeed they seem strange, but there might be a reason for it.  Can any of you confirm if this is a bug or not ?

Thanks!
[28 Sep 2005 8:33] Michael G. Zinner
This is the Unicode header (BOM). It should be recognized by all editors that support unicode.

We are also going to add an ANSI export in one of the next versions.
[12 Apr 2006 8:03] Mike Lischke
This works as designed. Unicode files should always have a BOM as marker. ANSI export will be done later.