Wiladams / svgandme

SVG Parser and rendering using blend2d for graphics
MIT License
9 stars 4 forks source link

Info: cross-platform mmapfile #8

Open abu-irrational opened 4 months ago

abu-irrational commented 4 months ago

Hi William, I had some troubles loading (on Windows) one of your demo "Przekrój_silnika_SSME.svg" because this filename has unicode characters. .. My input string (char*) are always in UTF-8 encoding, but CreateFile() expects a WideChar encoding (?UTF-16 ?). OK, problem solved. Here is a new version of my cross-platform mmapfile.h

Review issue https://github.com/Wiladams/svgandme/issues/5 for details

mmapfile.h.txt