i18n printing



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello,

I am referring to a former thread:
http://mail.gnome.org/archives/gnumeric-list/2002-March/msg00038.html

I would like to make a little summary:

1) MOTIVATION: gnumeric doesn't print international characters on FreeBSD

2) CAUSE: in the print_show() function, it is using OS mbstowcs() function
to translate current locale's characters to UNICODE, and then a simple
function to translate to UTF8, which is needed by gnome-print. This works
on linux, but it's not a standard according to POSIX (see the former
thread), so it probably won't work on more platforms

3) SOLUTION: as I've found, glib2 contains nice functions like
g_locale_to_utf8(), which would fit here perfectly. But I don't know if
gnumeric is moving towards glib2. Other solution is iconv, but I am not
sure how portable this is. I have made a little hack for myself with
iconv (because I need to print Czech characters), but I am not that good
coder to make a clean patch for gnumeric.

Is there anybody willing to do this ?

bye

Tomas Pluskal

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8kmuXqlO9Q2aZisoRAlUlAJ4k71qXMBldzmvJCETOQ1hljkuWwwCgh7/y
bWmESUeNH1f+kLC7IqvUqiM=
=XTpx
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]