On Thu, 21 May 2009, Adam Tkac wrote:
Hi all,
one man reported problem that vncviewer doesn't show Russian letters
(https://bugzilla.redhat.com/show_bug.cgi?id=501832).
After quick inspection main problem is that libX11 text routines
(mainly XDrawString) doesn't support UTF-8.
True.
I think the best solution will be enable internationalization only
when charset is ISO-8859-1 or ISO-8859-2. So code like
lang = nl_langinfo(CODESET);
if (!strcasecmp(lang, "ISO-8859-1"))
internationalize;
will handle it.
Another solution, probably cleaner, is simply to not install .po/.mo files
for languages that we know won't work. This can be done simply by removing
"ru" from the LINGUS file.
Question is if we would like to want to drop I18N at all on UN*X
platforms because if we would like to support it we have to rewrite
vncviewer to use QT/GTK. It means end of light-weight viewer.
We at Cendio rely on the translations; we would be very unhappy without
it. I think that translation support for Latin1 languages is certainly
better than no translation support at all.
Yes, eventually, we should drop the tx toolkit and use something more
modern and standard. This should allow us to unify the Windows and UNIX
viewer as well, and probably make it possible to support OS X as well. I
believe we can still keep the viewer fairly lightweight.
Investigating this is on our list.
Best regards,
---
Peter Åstrand ThinLinc Chief Developer
Cendio AB http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping Phone: +46-13-21 46 00
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel