Unicode support?

Issue #41 new
Darío Cutillas Carrillo created an issue

The FNX format has a bit to specify the charset used. I believe however that currently text-writing functions are limited to only two possible charsets: ISO8859 and CP850.

It might be a tuff job, but thinking about the future, shouldn't there be some kind of support for unicode?

Perhaps one possibility would be to introduce a new UNICODE string type, and create overloaded versions of the mod_text functions that accept the new type and then do the same with other text-related modules.

Comments (1)

  1. Joseba Echevarria García repo owner

    One of the long term goals of PixTudio is to switch input handling to UTF-8. As such, fonts (amongst many other parts of the internal code of PixTudio) will need to be adjusted to support UTF-8, yes.

    One important problem with this is that PixTudio assumes that FNT files only contain 256 symbols, but UTF-8 can define thousands of them, which should be handled, too.

    I am, however, lowering the priority of this report from "major" to "minor", since I will probably not be working on this anytime soon.

  2. Log in to comment