sillsdev / appbuilder-pwa

Progress Web App template for Scripture App Builder
https://software.sil.org/scriptureappbuilder
MIT License
9 stars 26 forks source link

Compare files using normalize for non-ascii chars #711

Closed chrisvire closed 4 weeks ago

chrisvire commented 4 weeks ago

When filenames can contain non-ascii characters, make sure to normalize each part of the comparison.

This happened when usfm files had non-ascii characters and they are split up into multiple chucks and we have to combine them back together.

Used ChatGPT https://chatgpt.com/share/672277fc-0a14-8006-8fe9-2b31b732de1f