Summary: | UTF-8 and "pure" console, becoming mad Spanish users | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rafael Fernández López <info> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED OBSOLETE | ||
Severity: | major | CC: | coldwind |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rafael Fernández López
2005-11-12 13:07:32 UTC
As you know, spanish users we do use characters like "ñ", "á", "ó", "é", "í", "ú". Well, when using the "pure" console (Ctrl+Alt+F1, from the graphical interface), and we ask for a simple "ls" in a directory that we had a file like "Río.jpg" it is showed CORRECTLY, al characters are showed the right way. It is too different when we are talking about typing. I can type with no problems "ñ" and "" symbols. But I can't type "á", "é", "í", "ó", "ú". In X11 (KDE and Gnome too) there are no problems with any character, all them are showed and can be typed correctly. ==> Here is my "/etc/env.d/02locale" file: LC_ALL="es_ES.UTF-8" LANGUAGE="es_ES.UTF-8" LANG="es_ES.UTF-8" ==> Here is "/etc/conf.d/keymaps" file: # /etc/conf.d/keymaps # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/keymaps,v 1.1.4.1 2005/02/19 02:13:53 vapier Exp $ # Use KEYMAP to specify the default console keymap. There is a complete tree # of keymaps in /usr/share/keymaps to choose from. #KEYMAP="es euro2" KEYMAP="-u es euro2" # Should we first load the 'windowkeys' console keymap? Most x86 users will # say "yes" here. Note that non-x86 users should leave it as "no". SET_WINDOWKEYS="yes" # The maps to load for extended keyboards. Most users will leave this as is. #EXTENDED_KEYMAPS="" #EXTENDED_KEYMAPS="backspace keypad euro" # Tell dumpkeys(1) to interpret character action codes to be # from the specified character set. # This only matters if you set UNICODE="yes" in /etc/rc.conf. # For a list of valid sets, run `dumpkeys --help` DUMPKEYS_CHARSET="iso-8859-15" ==> Here is my "/etc/conf.d/consolefont" file: # /etc/conf.d/consolefont # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/Attic/consolefont,v 1.1.2.2 2005/05/14 20:44:41 vapier Exp $ # CONSOLEFONT specifies the default font that you'd like Linux to use on the # console. You can find a good selection of fonts in /usr/share/consolefonts; # you shouldn't specify the trailing ".psf.gz", just the font name below. # To use the default console font, comment out the CONSOLEFONT setting below. # This setting is used by the /etc/init.d/consolefont script (NOTE: if you do # not want to use it, run "rc-update del consolefont" as root). CONSOLEFONT="lat9w-16" # CONSOLETRANSLATION is the charset map file to use. Leave commented to use # the default one. Have a look in /usr/share/consoletrans for a selection of # map files you can use. CONSOLETRANSLATION="8859-15_to_uni" This is my configuration at this moment, but I've tried with all kind of combinations and so on... and I've posted in Gentoo Forums a thread where all spanish Gentoo users are having the same trouble. Here is the link: http://forums.gentoo.org/viewtopic-t-400604.html. (This thread is in spanish, because it was written on Spanish forum). Thanks, Rafael Fernández López. (In reply to comment #0) > > CONSOLEFONT="lat9w-16" > > CONSOLETRANSLATION="8859-15_to_uni" > > > This is my configuration at this moment, but I've tried with all kind of > combinations and so on... and I've posted in Gentoo Forums a thread where all > spanish Gentoo users are having the same trouble. > can you remove CONSOLETRANSLATION="8859-15_to_uni" string and try w/o? lat9w-16 - it's include spanich letters? Still same problem with CONSOLETRANSLATION commented. [*] lat9w-16 include spanish letters because with "/etc/env.d/02locale" settings as: LC_ALL="es_ES@euro" LANGUAGE="es_ES@euro" LANG="es_ES@euro" There are no problems (but it is not UTF-8, that is what I want). Thanks. (In reply to comment #1) > (In reply to comment #0) > > > > CONSOLEFONT="lat9w-16" > > > > CONSOLETRANSLATION="8859-15_to_uni" > > > > > > This is my configuration at this moment, but I've tried with all kind of > > combinations and so on... and I've posted in Gentoo Forums a thread where all > > spanish Gentoo users are having the same trouble. > > > can you remove CONSOLETRANSLATION="8859-15_to_uni" string and try w/o? > > lat9w-16 - it's include spanich letters? > > LC_ALL="es_ES@euro"
> LANGUAGE="es_ES@euro"
> LANG="es_ES@euro"
can you try set LANG and LANGUAGE to "es_ES.UTF-8" and unset LC_ALL ?
(In reply to comment #3) > > LC_ALL="es_ES@euro" > > LANGUAGE="es_ES@euro" > > LANG="es_ES@euro" > can you try set LANG and LANGUAGE to "es_ES.UTF-8" and unset LC_ALL ? > Same thing, " (In reply to comment #3) > > LC_ALL="es_ES@euro" > > LANGUAGE="es_ES@euro" > > LANG="es_ES@euro" > can you try set LANG and LANGUAGE to "es_ES.UTF-8" and unset LC_ALL ? > Same thing, "" and "ñ" can be typed correctly. All characters are showed correctly but I am not able to type "á", "é", "í", "ó" or "ú". Thanks (In reply to comment #4) > Same thing, "€" and " (In reply to comment #4) > Same thing, "€" and "ñ" can be typed correctly. All characters are showed > correctly but I am not able to type "á", "é", "í", "ó" or "ú". > > Thanks I think it's problem only of console fonts. For more information please read /usr/share/consolefonts/README.lat9 Can you try terminus fonts? if you not please trying. (In reply to comment #5) > (In reply to comment #4) > > Same thing, "€" and " (In reply to comment #5) > (In reply to comment #4) > > Same thing, "€" and "ñ" can be typed correctly. All characters are showed > > correctly but I am not able to type "á", "é", "í", "ó" or "ú". > > > > Thanks > I think it's problem only of console fonts. > For more information please read > /usr/share/consolefonts/README.lat9 > > Can you try terminus fonts? > if you not please trying. Terminus can't show even "" or "ñ", and of course, cannot show "á", "é", "í"... nor write them. I know that is not a consolefont issue... because if I change my locales to ISO-8859-15 (where lat9w has support as for utf-8) works perfectly. I've read that maybe is a kernel issue and I've seen a website that has a patch for resolving this issue. You can check this issue too: http://forums.gentoo.org/viewtopic-t-221588-highlight-utf8+spanish.html (this one is in english). On that topic some solutions are told, but no one do really works. The only one (and maybe is the right solution) is to patch the kernel. This is the web site where the patch is supposed to be and work fine: http://chris.heathens.co.nz/linux/utf8.html Thank you > I know that is not a consolefont issue... because if I change my locales to > ISO-8859-15 (where lat9w has support as for utf-8) works perfectly. > > I've read that maybe is a kernel issue and I've seen a website that has a patch > for resolving this issue. > > You can check this issue too: > http://forums.gentoo.org/viewtopic-t-221588-highlight-utf8+spanish.html (this > one is in english). > > On that topic some solutions are told, but no one do really works. The only one > (and maybe is the right solution) is to patch the kernel. > > This is the web site where the patch is supposed to be and work fine: > http://chris.heathens.co.nz/linux/utf8.html > > Thank you ok, i trying on my home pc. but i am not gentoo developer :( So? (In reply to comment #8) > So? Few day i have no access to my home pc. Sorry. I trying on this week end, ok? Well, if you cannot handle this issue, please send it to a developer, or in other case, assign it to another person. I know that you (almost developers) have lots of work to do. Thank you, Rafael Fern Well, if you cannot handle this issue, please send it to a developer, or in other case, assign it to another person. I know that you (almost developers) have lots of work to do. Thank you, Rafael Fernández López. (In reply to comment #0) > As you know, spanish users we do use characters like "ñ", "á", "ó", "é", "í", > "ú". Well, when using the "pure" console (Ctrl+Alt+F1, from the graphical > interface), and we ask for a simple "ls" in a directory that we had a file like > "Río.jpg" it is showed CORRECTLY, al characters are showed the right way. > > It is too different when we are talking about typing. I can type with no > problems "ñ" and "" symbols. But I can't type "á", "é", "í", "ó", "ú". > > In X11 (KDE and Gnome too) there are no problems with any character, all them > are showed and can be typed correctly. > > ==> Here is my "/etc/env.d/02locale" file: > > LC_ALL="es_ES.UTF-8" > LANGUAGE="es_ES.UTF-8" > LANG="es_ES.UTF-8" > > ==> Here is "/etc/conf.d/keymaps" file: > > # /etc/conf.d/keymaps > # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/keymaps,v 1.1.4.1 > 2005/02/19 02:13:53 vapier Exp $ > > # Use KEYMAP to specify the default console keymap. There is a complete tree > # of keymaps in /usr/share/keymaps to choose from. > > #KEYMAP="es euro2" > KEYMAP="-u es euro2" > > # Should we first load the 'windowkeys' console keymap? Most x86 users will > # say "yes" here. Note that non-x86 users should leave it as "no". > > SET_WINDOWKEYS="yes" > > > # The maps to load for extended keyboards. Most users will leave this as is. > > #EXTENDED_KEYMAPS="" > #EXTENDED_KEYMAPS="backspace keypad euro" > > > # Tell dumpkeys(1) to interpret character action codes to be > # from the specified character set. > # This only matters if you set UNICODE="yes" in /etc/rc.conf. > # For a list of valid sets, run `dumpkeys --help` > > DUMPKEYS_CHARSET="iso-8859-15" > > ==> Here is my "/etc/conf.d/consolefont" file: > > # /etc/conf.d/consolefont > # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/Attic/consolefont,v > 1.1.2.2 2005/05/14 20:44:41 vapier Exp $ > > # CONSOLEFONT specifies the default font that you'd like Linux to use on the > # console. You can find a good selection of fonts in /usr/share/consolefonts; > # you shouldn't specify the trailing ".psf.gz", just the font name below. > # To use the default console font, comment out the CONSOLEFONT setting below. > # This setting is used by the /etc/init.d/consolefont script (NOTE: if you do > # not want to use it, run "rc-update del consolefont" as root). > > CONSOLEFONT="lat9w-16" > > # CONSOLETRANSLATION is the charset map file to use. Leave commented to use > # the default one. Have a look in /usr/share/consoletrans for a selection of > # map files you can use. > > CONSOLETRANSLATION="8859-15_to_uni" > > > This is my configuration at this moment, but I've tried with all kind of > combinations and so on... and I've posted in Gentoo Forums a thread where all > spanish Gentoo users are having the same trouble. > > Here is the link: http://forums.gentoo.org/viewtopic-t-400604.html. (This thread > is in spanish, because it was written on Spanish forum). > > Thanks, > Rafael Fernández López. Don't reassign bugs back to bug wranglers. how i can out spanish in pure console? special symbols i need i have english/russian/ukrainian keyboard..... ¿What do you mean? How to print out spanish characters ? Well, as I said there is no problem printing out "ñ" or "€". The problems came with "á", "é", "í", "ó", "ú". You can set your keyboard for -u es euro2. For printing out those kind of charaters I have: http://www.sussex.ac.uk/its/facilities/pc/keyboards/spanish.gif 1. Press the one that is at the right at "ñ" 2. Then press u, o, e, i, a In X11 you may have as a result "ú", "ó", "é", "í", "á". In "pure console" you may not have any output. That's the problem. I have the same problem :( (In reply to comment #14) > I have the same problem :( > hm ... i am tested on my box and have some things .... but i have one question: where you are get euro2 keymap? I don't have this problem. Environment variables: LC_ALL=es_ES.UTF-8 LANGUAGE=es_ES.UTF-8 (or LANGUAGE="") LANG=es_ES.UTF-8 (or LANG="") /etc/conf.d/keymaps: KEYMAP="es" DUMPKEYSCHARSET="" /etc/conf.d/consolefont: CONSOLEFONT="default8x16" #CONSOLETRANSLATION unset unicode is, of course, enabled in USE (and all system compiled with it), and set in rc.conf... Closing as utf8 herd is dead and utf8 works fine for me in console for ages |