tfbf / Bible-Punjabi-Pavitr-Bible-1945

Bible-Punjabi-Pavitr-Bible-1945
Other
5 stars 9 forks source link

Remove the BOM (Byte Order Mark) from 20_PROFBPa.usfm #77

Closed DavidHaslam closed 7 years ago

DavidHaslam commented 7 years ago

One unexpected error was detected when I ran the usfm to osis conversion using u2o.

I tracked it down to the fact that 20_PROFBPa.usfm is encoded UTF-8-BOM.

The BOM should be removed. Easy enough to do using Notepad++ | Menu | Encoding

DavidHaslam commented 7 years ago

When I made the OSIS file yesterday, it ended up without PROverbs because the Python script u2o.py baulked at the BOM.

Ryan has since tweaked his script so that this will not be an issue in future, I have also verified his solution.

Even so, it's still preferred always to use UTF-8 without a BOM.

DavidHaslam commented 7 years ago

This issue was fixed by merging pull request #96