Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can you stop the auto-merge from inserting a BOM in a UTF-8 XML file?

After performing an auto-resolve on an XML file, the BOM (hex 'ef bb bf') is inserted.
The file is encoded in UTF-8, and this is also specified in the file.

This BOM should not be inserted for UTF-8 and is causing issues for our parser.  How can we stop the auto-merge from inserting this?

1 vote



One answer

Permanent link
In the Eclipse client you are performing the merge, change the workspace properties to UTF-8.
This can be done in the preferences, under General>Workspace, then change "Text file encoding". 

2 votes

Comments

Based on the answer, I would change the subject to "How not to insert a BOM in a UTF-8 file when performing a merge", as the answer does not address the "why".

 Thanks Don! Fixed.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,027
× 1,204
× 33

Question asked: Jan 11 '16, 11:48 a.m.

Question was seen: 3,422 times

Last updated: Jan 12 '16, 8:02 a.m.

Confirmation Cancel Confirm