Scooby Doo in "The Magical Mistery Locales"
Well friends, I've read about some investigations at this respect done by a guy on the list but I've lost that mail. (meta-question: where are the mail archives?) I've tried a local -a and I've got es_ES@euro in the list. I don't know what this means exactly so if the guy that sents that C program for test locales supported by X reads this message, please, can you explain me what are your conclussions at this time about this matter? Any additional hints will be wellcomed. Thanks a lot,
On Friday 14 December 2001 21.11, Francisco Manuel Marzoa Alonso wrote:
Well friends,
I've read about some investigations at this respect done by a guy on the list but I've lost that mail. (meta-question: where are the mail archives?)
I've tried a local -a and I've got es_ES@euro in the list.
I don't know what this means exactly so if the guy that sents that C program for test locales supported by X reads this message, please, can you explain me what are your conclussions at this time about this matter?
That would be me :) If I understand you correctly, you have LANG set to es_ES@euro, but you still get the "locale not supported by X" error message when you run programs, is that correct? If yes, I've attached the little c program I wrote. Compile with gcc -o localetest -L/usr/X11R6/lib -lX11 localetest.c and run, and see what you get. regards Anders
On Friday 14 December 2001 22.33, Anders Johansson wrote: <a duplicate mail> Sorry people, that one was meant as a personal reply. The 'L' is in my fingers :) //Anders
Ok, take a look at this: fmmarzoa@linux:~ > locale LANG=es_ES@euro LC_CTYPE="es_ES@euro" LC_NUMERIC="es_ES@euro" LC_TIME="es_ES@euro" LC_COLLATE=POSIX LC_MONETARY="es_ES@euro" LC_MESSAGES="es_ES@euro" LC_PAPER="es_ES@euro" LC_NAME="es_ES@euro" LC_ADDRESS="es_ES@euro" LC_TELEPHONE="es_ES@euro" LC_MEASUREMENT="es_ES@euro" LC_IDENTIFICATION="es_ES@euro" LC_ALL= fmmarzoa@linux:~ > localetest This X server doesn't support the current locale fmmarzoa@linux:~ > kwrite Qt: Locales not supported on X server fmmarzoa@linux:~ > Last lines showed my true trouble: kwrite runs, but it doesn't support accents (deadkeys doesn't work). If I force LC_ALL to "es" things goes ok. What your oppinion about this? The root of the trouble? Possible solutions? Thanks a lot, Anders. El Vie 14 Dic 2001 22:33, Anders Johansson escribió:
If I understand you correctly, you have LANG set to es_ES@euro, but you still get the "locale not supported by X" error message when you run programs, is that correct? If yes, I've attached the little c program I wrote. Compile with
gcc -o localetest -L/usr/X11R6/lib -lX11 localetest.c
and run, and see what you get.
regards Anders
---------------------------------------- Content-Type: text/x-c; charset="iso-8859-15"; name="localetest.c" Content-Transfer-Encoding: base64 Content-Description: ---------------------------------------- ---------------------------------------- Content-Type: text/plain; charset="us-ascii"; name="Adjuntos: 2" Content-Transfer-Encoding: 7bit Content-Description: ----------------------------------------
On Saturday 15 December 2001 12.00, Francisco Manuel Marzoa Alonso wrote:
Ok, take a look at this:
fmmarzoa@linux:~ > locale LANG=es_ES@euro LC_CTYPE="es_ES@euro" LC_NUMERIC="es_ES@euro" LC_TIME="es_ES@euro" LC_COLLATE=POSIX LC_MONETARY="es_ES@euro" LC_MESSAGES="es_ES@euro" LC_PAPER="es_ES@euro" LC_NAME="es_ES@euro" LC_ADDRESS="es_ES@euro" LC_TELEPHONE="es_ES@euro" LC_MEASUREMENT="es_ES@euro" LC_IDENTIFICATION="es_ES@euro" LC_ALL= fmmarzoa@linux:~ > localetest This X server doesn't support the current locale fmmarzoa@linux:~ > kwrite Qt: Locales not supported on X server fmmarzoa@linux:~ >
Last lines showed my true trouble: kwrite runs, but it doesn't support accents (deadkeys doesn't work).
If I force LC_ALL to "es" things goes ok.
What your oppinion about this? The root of the trouble? Possible solutions?
Just one more piece of information: Is your X-server SuSE default, or did you download or compile a new? Which distro are you using? It sounds like your X doesn't come with a complete set of locales. I'm using 7.3 with the default X server, and I can set my locale to es_ES@euro and everything works. regards Anders
El Sáb 15 Dic 2001 21:34, escribiste:
On Saturday 15 December 2001 12.00, Francisco Manuel Marzoa Alonso wrote:
Ok, take a look at this:
fmmarzoa@linux:~ > locale LANG=es_ES@euro LC_CTYPE="es_ES@euro" LC_NUMERIC="es_ES@euro" LC_TIME="es_ES@euro" LC_COLLATE=POSIX LC_MONETARY="es_ES@euro" LC_MESSAGES="es_ES@euro" LC_PAPER="es_ES@euro" LC_NAME="es_ES@euro" LC_ADDRESS="es_ES@euro" LC_TELEPHONE="es_ES@euro" LC_MEASUREMENT="es_ES@euro" LC_IDENTIFICATION="es_ES@euro" LC_ALL= fmmarzoa@linux:~ > localetest This X server doesn't support the current locale fmmarzoa@linux:~ > kwrite Qt: Locales not supported on X server fmmarzoa@linux:~ >
Last lines showed my true trouble: kwrite runs, but it doesn't support accents (deadkeys doesn't work).
If I force LC_ALL to "es" things goes ok.
What your oppinion about this? The root of the trouble? Possible solutions?
Just one more piece of information: Is your X-server SuSE default, or did you download or compile a new? Which distro are you using? It sounds like your X doesn't come with a complete set of locales.
It's SuSE default one as every other packages involved. fmmarzoa@linux:~ > rpm -q xf86 xf86-4.0.3-35
I'm using 7.3 with the default X server, and I can set my locale to es_ES@euro and everything works.
This is a 7.2 and the video card is a 3dfx Voodoo 3000.
regards Anders
Did you think I should notify a bug to feedback@suse.com? Can I use LC_ALL set to "es" as a workaround or could this cause another troubles?
On Saturday 15 December 2001 21.37, Francisco Manuel Marzoa Alonso wrote:
fmmarzoa@linux:~ > rpm -q xf86 xf86-4.0.3-35
I'm using 7.3 with the default X server, and I can set my locale to es_ES@euro and everything works.
This is a 7.2 and the video card is a 3dfx Voodoo 3000.
regards Anders
Did you think I should notify a bug to feedback@suse.com? Can I use LC_ALL set to "es" as a workaround or could this cause another troubles?
Do rpm -V xf86 If it doesn't show anything relevant I think you should post a bugreport. A workaround could possibly be to add the line es_ES@euro: es_ES.ISO8859-15 to the file /usr/X11R6/lib/X11/locale/locale.alias, but you may want to consult someone a little more versed in the secrets of X on this. There could be other things missing. //Anders
El Sáb 15 Dic 2001 21:54, Anders Johansson escribió:
On Saturday 15 December 2001 21.37, Francisco Manuel Marzoa Alonso wrote:
fmmarzoa@linux:~ > rpm -q xf86 xf86-4.0.3-35
I'm using 7.3 with the default X server, and I can set my locale to es_ES@euro and everything works.
This is a 7.2 and the video card is a 3dfx Voodoo 3000.
regards Anders
Did you think I should notify a bug to feedback@suse.com? Can I use LC_ALL set to "es" as a workaround or could this cause another troubles?
Do rpm -V xf86
fmmarzoa@linux:~/ruidos > rpm -V xf86 .M...... /usr/X11R6/bin/dga ..5....T /usr/X11R6/lib/X11/fonts/75dpi/fonts.dir SM5....T /usr/X11R6/lib/X11/fonts/encodings/encodings.dir SM5....T /usr/X11R6/lib/X11/fonts/encodings/large/encodings.dir SM5....T /usr/X11R6/lib/X11/fonts/latin2/75dpi/encodings.dir .M5....T /usr/X11R6/lib/X11/fonts/latin2/75dpi/fonts.dir .......T /usr/X11R6/lib/X11/fonts/local/fonts.dir S.5....T /usr/X11R6/lib/X11/fonts/misc/fonts.dir ..?..... /usr/bin/keygen missing /var/lib/xdm/authdir/authfiles I think those messages are not relevant for the case, isn't it?
If it doesn't show anything relevant I think you should post a bugreport.
Sorry my friend, for this is enough to send a mail to feedback@suse.com or is there any kind of form for its notification?
A workaround could possibly be to add the line
es_ES@euro: es_ES.ISO8859-15
to the file /usr/X11R6/lib/X11/locale/locale.alias, but you may want to consult someone a little more versed in the secrets of X on this. There could be other things missing.
Ok, I'll use this if it works until there's an official solution.
//Anders
Thanks a million, Anders.
Uh oh!
El Sáb 15 Dic 2001 21:54, Anders Johansson escribió: [...]
A workaround could possibly be to add the line
es_ES@euro: es_ES.ISO8859-15
to the file /usr/X11R6/lib/X11/locale/locale.alias, but you may want to
The fact is there's an alias in that form YET in the file... What do you think about this?... (From my /usr/X11R6/lib/X11/locale/locale.alias) [...] es_ES.ISO-8859-1 es_ES.ISO8859-1 es_ES.ISO_8859-1 es_ES.ISO8859-1 es_ES.iso885915 es_ES.ISO8859-15 es_ES.ISO-8859-15 es_ES.ISO8859-15 es_ES@euro es_ES.ISO8859-15 es_GT es_GT.ISO8859-1 es_GT.iso88591 es_GT.ISO8859-1 es_GT.ISO-8859-1 es_GT.ISO8859-1 [...] Thanks thanks thanks...
On Saturday 15 December 2001 22.43, Francisco Manuel Marzoa Alonso wrote:
Uh oh!
El Sáb 15 Dic 2001 21:54, Anders Johansson escribió:
[...]
A workaround could possibly be to add the line
es_ES@euro: es_ES.ISO8859-15
to the file /usr/X11R6/lib/X11/locale/locale.alias, but you may want to
The fact is there's an alias in that form YET in the file... What do you think about this?...
(From my /usr/X11R6/lib/X11/locale/locale.alias)
[...]
es_ES.ISO-8859-1 es_ES.ISO8859-1 es_ES.ISO_8859-1 es_ES.ISO8859-1 es_ES.iso885915 es_ES.ISO8859-15 es_ES.ISO-8859-15 es_ES.ISO8859-15 es_ES@euro es_ES.ISO8859-15 es_GT es_GT.ISO8859-1 es_GT.iso88591 es_GT.ISO8859-1 es_GT.ISO-8859-1 es_GT.ISO8859-1
Weird. But I think this shows it really is a bug. In response to your question in the other mail, bugs are reported by sending a mail to feedback@suse.com I'm sorry, but my knowledge ended a long time ago, and I'm running on speculation here. I did an strace on my little one-liner c program, to see what happens, and it reads locale.dir, finds an entry in that iso8859-15/XLC_LOCALE: es_ES.ISO8859-15 opens iso8859-15/XLC_LOCALE, and then returns that it is supported. These files and directories are all in /usr/X11R6/lib/X11/locale See if all those exist and that you have permissions to read them. //Anders
El Sáb 15 Dic 2001 23:29, Anders Johansson escribió:
I'm sorry, but my knowledge ended a long time ago,
Thanks a lot :)
and I'm running on speculation here. I did an strace on my little one-liner c program, to see what happens, and it reads locale.dir, finds an entry in that
iso8859-15/XLC_LOCALE: es_ES.ISO8859-15
opens iso8859-15/XLC_LOCALE, and then returns that it is supported.
These files and directories are all in /usr/X11R6/lib/X11/locale
See if all those exist and that you have permissions to read them.
Yes, they exist and I've permissions to read them. I'll send twomorrow a bug notification to SuSE then, while they publish a patch (if they do it) i'll set LC_ALL to "es" as it seems to be the only workaround possible.
//Anders
Again, thanks a lot Anders; with PEOPLE like YOU I remember why I chose LiNUX.
participants (2)
-
Anders Johansson
-
Francisco Manuel Marzoa Alonso