Hi,

Thank for support non-trivial and rich language !


Unfortunately, lack of support of Unicode hard limits spheres of application.

Partially solution of this situation is use utf8 encoding which allows partially
work with non-latin chars with old programs. But arise new problem: on xorg 
utf8 is not displaying.

I try solve problem output russian (and other non-latin) chars on xorg. (On 
console all ok.)

I small known c language (my preferred language - freepascal),
small known xorg and for example not clear understand about *.r files target 
and more.

But i found function which creates a this problem: XDrawString. It must be 
changed to Xutf8DrawString.
On this site is working example of this: 
http://xopendisplay.hilltopia.ca/2009/Feb/Xlib-tutorial-part-7----FontSets.html

Example: http://xopendisplay.hilltopia.ca/xtut7.c

When this example (with added russian letters in output) run with valid 
(unicode) -font key, russian letters displaying:
./a.out -font -*-fixed-*-*-*-*-24-*-*-*-*-*-iso10646-1

Info about font name get from here: 
http://osdir.com/ml/internationalization.linux/2003-01/msg00053.html

May be merge Unicon and example for solve problem in mainstream ?


Good Luck,
  Alexander.

<<attachment: Снимок экрана от 2013-08-04 01:06:16.png>>

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to