dlang / dub

Package and build management system for D
MIT License
678 stars 227 forks source link

Correctly handle UTF-32 / UTF-16 files #2511

Open Geod24 opened 2 years ago

Geod24 commented 2 years ago

Our previous implementation was simply "strip some BOM". This re-uses DMD battle-tested implementation to re-encode files in UTF-8 if needed.