[Freeciv-Dev] (PR#1824) ruleset data is in incompatible charsets
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
We can make a workaround by using iconv to convert from UTF-8 into the
local charset when we load the rulesets. This conversion need only be
done in one place, and will allow everything to work so long as the same
charset is used everywhere (server, client, machine you load your
savegame on...). Thus it's good to fix 90%+ of the problem cases. It
would be a good candidate to backport to 1.14 for a bugfix/patchlevel
release.
One problem: I don't know how to detect the local charset. Up to now
I've just hard-coded it. This is what gui-sdl does (bad!). gui-gtk-2.0
retrieves it using g_get_charset, but since we don't have access to glib
elsewhere we can't do that.
jason
[Freeciv-Dev] (PR#1824) ruleset data is in incompatible charsets,
Jason Short via RT <=
[Freeciv-Dev] (PR#1824) ruleset data is in incompatible charsets, Jason Short via RT, 2003/01/26
[Freeciv-Dev] (PR#1824) ruleset data is in incompatible charsets, Jason Short via RT, 2003/01/28
[Freeciv-Dev] (PR#1824) ruleset data is in incompatible charsets, Jason Short via RT, 2003/01/30
[Freeciv-Dev] (PR#1824) ruleset data is in incompatible charsets, Jason Short via RT, 2003/01/31
[Freeciv-Dev] (PR#1824) ruleset data is in incompatible charsets, Jason Short via RT, 2003/01/31
|
|