Use UTF-8 for memory FS data if it's not in Latin-1. See https://github.com/wxWidgets/wxWidgets/pull/2622 See #19314.