256lights / zb

An experiment in hermetic, reproducible build systems
MIT License
313 stars 6 forks source link

Support UTF-16 in references scan #36

Closed zombiezen closed 1 month ago

zombiezen commented 2 months ago

Windows has a prevalence of UTF-16LE for its files, so it would be prudent to expand the reference finder and hash modulo rewriter to also detect instances of digests in UTF-16.