Hi, I've been struggling with the windows X server Exceed for a couple of days to make it understand the win1251 encoding. I have also tried using luit. Either way I was not able to make exceed show win1251-encoded text correctly. I am not having problems on the debian machine itself, or when I log on remotely with Putty. My problems are only with the remote X server.

If I start xterm with the '-lc' option the remote X displays the characters correctly. According to the xterm manual the -lc option uses luit to change the encoding from 1251 (my locale is bg_BG) to utf-8. However if I try 'luit xterm', it doesn't work.

I looked at Exceed's log and I see that when I invoke 'xterm -lc' the X server loads the following fonts:

2 > OpenFont: cursor
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\cursor.wff (already loaded)

2 > OpenFont: nil2
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\nil2.wff

2 > OpenFont: fixed
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\6x13-l1.fon (already loaded)

2 > OpenFont: -misc-fixed-bold-r-*-*-13-120-75-75-c-60-iso8859-1
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\6x13b-l1.fon

2 > OpenFont: -misc-fixed-medium-r-*-*-13-120-75-75-c-120-iso10646-1
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\12x13ja.fon

2 > OpenFont: -misc-fixed-bold-r-*-*-13-120-75-75-c-120-iso10646-1
2 < Scaled: C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\8x13b.fon

2 > OpenFont: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\6x13.fon

2 > OpenFont: -misc-fixed-bold-r-*-*-13-120-75-75-c-60-iso10646-1
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\6x13b.fon

2 > OpenFont: -misc-fixed-medium-r-*-*-13-120-75-75-c-120-iso10646-1
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\12x13ja.fon (already loaded)

2 > OpenFont: -misc-fixed-bold-r-*-*-13-120-75-75-c-120-iso10646-1
2 < Scaled: C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\8x13b.fon (already loaded)

when I do 'luit -v xterm'

luit says
G0 is ASCII, G1 is Unknown (94), G2 is CP 1251, G3 is Unknown (94).
GL is G0, GR is G2.

and the x server loads the fonts:

2 > OpenFont: cursor
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\cursor.wff (already loaded)

2 > OpenFont: nil2
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\nil2.wff

2 > OpenFont: fixed
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\6x13-l1.fon (already loaded)

2 > OpenFont: -misc-fixed-bold-r-*-*-13-120-75-75-c-60-iso8859-1
2 < C:\Program Files\Hummingbird\Connectivity\12.00\Exceed\Font\m isc\6x13b-l1.fon


So my question I guess is, if there is no way to make exceed use the 1251 encoding, how should I use luit to get the same results as 'xterm -lc' ?

Thanks for any help!