On Thu, 9 Nov 2017 22:16:46 +0100, Mike Wey wrote:
[…]

Like glib-compile-resources but with dlang output? Not as far as i know.

Might this be something worth creating?

As for the import you can cast it to byte if the contents is not utf8.

As far as I am aware the file is UTF-8 data but that didn't seem to be enough.