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.

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.

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.

Do you have any ideas how better deal with this?

Regards, Adam

-- 
Adam Tkac, Red Hat, Inc.

------------------------------------------------------------------------------
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

Reply via email to