Re: Unicode compose map?

2002-08-01 Thread Juliusz Chroboczek
   >  The alternative to the compose mechanism -- using the input method
   >  mechanism -- is just too nasty to consider.  End of offtopic.)

   Is that the same as the 'altgr' key?

No.  It's a mechansim that allows a separate process to do dictionary
lookups for East-Asian input.  The protocol is hopelessly obfuscated
(you know, job security for East-Asian i18n people).

   Great.  Can you either send me the compose files, or point me to the
   correct cvs directory?  I dont want to check out the entire source tree
   to get two files :)

Cvsweb is your friend (somewhere on www.xfree86.org).  Look for
xc/nls/compose.dir and for xc/nls/Compose/en_US.UTF-8.

Juliusz



Re: Unicode compose map?

2002-07-24 Thread Norbert Veber
On Tue, Jul 23, 2002 at 06:21:47PM +0200, Juliusz Chroboczek wrote:
>  The alternative to the compose mechanism -- using the input method
>  mechanism -- is just too nasty to consider.  End of offtopic.)

Is that the same as the 'altgr' key?

> I can personally confirm that the non-Greek compose file does contain
> entries for the ISO 8859-2 characters needed for Polish; it probably
> contains all combinations that you need, but I haven't checked myself.

Great.  Can you either send me the compose files, or point me to the
correct cvs directory?  I dont want to check out the entire source tree
to get two files :)

In the mean time, I also stumbled across an updated version of the
debian-utf8 howto:
http://melkor.dnp.fmph.uniba.sk/~garabik/debian-utf8/howto.html

They mention a compose map by Pablo Saratxaga, but I didnt get a chance
to try it out yet.

> Note that the above applies to current XFree86 CVS; I don't know what
> the status of 4.2.0 is.  Note furthermore that if you're working with
> UTF-8, you really ought to upgrade your X libraries to 4.2.0 or later.

I havent noticed any problems so far, but I'm not using it thought the
entire X Window system.  My general locale is en_US, and I set it to
en_US.UTF-8 only if TERM=xterm|screen.  This is mainly because I use
gnome, which is unable to display any text if I try to use unicode.
Would 4.2.0 libs help with that problem?

Thanks,

Norbert


pgpmRRCRavxvS.pgp
Description: PGP signature


Re: Unicode compose map?

2002-07-24 Thread Norbert Veber

On Tue, Jul 23, 2002 at 06:21:47PM +0200, Juliusz Chroboczek wrote:
>  The alternative to the compose mechanism -- using the input method
>  mechanism -- is just too nasty to consider.  End of offtopic.)

Is that the same as the 'altgr' key?

> I can personally confirm that the non-Greek compose file does contain
> entries for the ISO 8859-2 characters needed for Polish; it probably
> contains all combinations that you need, but I haven't checked myself.

Great.  Can you either send me the compose files, or point me to the
correct cvs directory?  I dont want to check out the entire source tree
to get two files :)

In the mean time, I also stumbled across an updated version of the
debian-utf8 howto:
http://melkor.dnp.fmph.uniba.sk/~garabik/debian-utf8/howto.html

They mention a compose map by Pablo Saratxaga, but I didnt get a chance
to try it out yet.

> Note that the above applies to current XFree86 CVS; I don't know what
> the status of 4.2.0 is.  Note furthermore that if you're working with
> UTF-8, you really ought to upgrade your X libraries to 4.2.0 or later.

I havent noticed any problems so far, but I'm not using it thought the
entire X Window system.  My general locale is en_US, and I set it to
en_US.UTF-8 only if TERM=xterm|screen.  This is mainly because I use
gnome, which is unable to display any text if I try to use unicode.
Would 4.2.0 libs help with that problem?

Thanks,

Norbert



msg03835/pgp0.pgp
Description: PGP signature


Re: Unicode compose map?

2002-07-23 Thread Juliusz Chroboczek
NV> I recently switched to the en_US.UTF-8 locale.  In
NV> /usr/X11R6/lib/X11/locale, I see the compose maps for the various
NV> character sets, however there isnt one for en_US.UTF-8.  As far as I can
NV> tell, this locale uses the compose map from iso8859-1 (though I couldnt
NV> figure out how/why).

This is fixed upstream.

At the time 4.1.0 was produced, we didn't have a reasonable compose
file for UTF-8, and so it was decided to stick with the ISO 8859-1
compose file for UTF-8 locales.  Current XFree86 CVS has two
reasonably complete compose files for UTF-8 locales: one which is used
in all UTF-8 locales other than the Greek one, and one with support
for Polytonic Greek that is only used in Greek locales.

(Offtopic: it is fairly clear that user preferences for compose
 sequences do depend on the user's language, and therefore the locale.
 I have no doubt that in time more locale-specific UTF-8 compose files
 will be included.

 The alternative to the compose mechanism -- using the input method
 mechanism -- is just too nasty to consider.  End of offtopic.)

I can personally confirm that the non-Greek compose file does contain
entries for the ISO 8859-2 characters needed for Polish; it probably
contains all combinations that you need, but I haven't checked myself.

Note that the above applies to current XFree86 CVS; I don't know what
the status of 4.2.0 is.  Note furthermore that if you're working with
UTF-8, you really ought to upgrade your X libraries to 4.2.0 or later.

Juliusz




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unicode compose map?

2002-07-23 Thread Juliusz Chroboczek

NV> I recently switched to the en_US.UTF-8 locale.  In
NV> /usr/X11R6/lib/X11/locale, I see the compose maps for the various
NV> character sets, however there isnt one for en_US.UTF-8.  As far as I can
NV> tell, this locale uses the compose map from iso8859-1 (though I couldnt
NV> figure out how/why).

This is fixed upstream.

At the time 4.1.0 was produced, we didn't have a reasonable compose
file for UTF-8, and so it was decided to stick with the ISO 8859-1
compose file for UTF-8 locales.  Current XFree86 CVS has two
reasonably complete compose files for UTF-8 locales: one which is used
in all UTF-8 locales other than the Greek one, and one with support
for Polytonic Greek that is only used in Greek locales.

(Offtopic: it is fairly clear that user preferences for compose
 sequences do depend on the user's language, and therefore the locale.
 I have no doubt that in time more locale-specific UTF-8 compose files
 will be included.

 The alternative to the compose mechanism -- using the input method
 mechanism -- is just too nasty to consider.  End of offtopic.)

I can personally confirm that the non-Greek compose file does contain
entries for the ISO 8859-2 characters needed for Polish; it probably
contains all combinations that you need, but I haven't checked myself.

Note that the above applies to current XFree86 CVS; I don't know what
the status of 4.2.0 is.  Note furthermore that if you're working with
UTF-8, you really ought to upgrade your X libraries to 4.2.0 or later.

Juliusz




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]