True Human Design
 
Forum / Read Thread


 19 views
 3 replies

David Haslam Diffinity Encoding UTF-8 and BOM 2018-12-03 08:58:05
UTF-8 Byte Order Marker issues...

Yesterday while using Diffinity, for the first time I saved the right file after doing some editing.

Before opening, the file was encoded UTF-8 (without BOM).
After saving, the file was encoded UTF-8 (with BOM).

Strictly speaking, these are different Unicode encodings!

Issues:
1. Diffinity does not detect the difference when one file is without BOM and the other file is with BOM.

2. There's no option under Preferences to select with or without BOM.

3. The insertion of the BOM during file save as was not notified to the user.

As many other applications expect or require UTF-8 text files to be without BOM, this unexpected behaviour can cause problems.

Aside: The problem was detected outside Diffinity when I examined the saved file using Notepad++. Fortunately, this has menu options to change the encoding.




Anders Re: Diffinity Encoding UTF-8 and BOM 2018-12-03 15:35:21
Admin:
Hi and thank you for the feedback. As it happens the next version of Diffinity will be released soon and it has already addressed these issues. If one file has bom and the other does not this will be indicated as a notification and in the status bar, also the user can select to save files with or without bom.

DFH Re: Diffinity Encoding UTF-8 and BOM 2018-12-06 11:02:05
I am pleased to learn that this issue has been addressed.

How soon may we expect the next release?

Anders Re: Diffinity Encoding UTF-8 and BOM 2018-12-06 19:59:11
Admin:
Should be before the end of the month at least.