21 std::span<const uint8_t> msx,
22 const std::function<uint32_t(uint8_t)>& fallback)
const;
24 [[nodiscard]] std::vector<uint8_t>
utf8ToMsx(
25 std::string_view
utf8,
26 const std::function<uint8_t(uint32_t)>& fallback)
const;
28 [[nodiscard]] std::string
msxToUtf8(std::span<const uint8_t> msx,
char fallback)
const;
29 [[nodiscard]] std::vector<uint8_t>
utf8ToMsx(std::string_view
utf8,
char fallback)
const;
32 void parseVid(std::string_view file);
38 std::array<uint32_t, 256> msx2unicode;
42 Entry(uint32_t u, uint8_t m) : unicode(u), msx(m) {}
48 std::vector<Entry> unicode2msx;