View previous topic :: View next topic |
Author |
Message |
Leffe Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/205410942741c1ae4f09c82.png)
Joined: 07 Apr 2004 Posts: 145 Location: Sweden
|
Posted: Tue Dec 07, 2004 8:09 pm Post subject: Unicode/UTF-8 in the Linux (framebuffer) console? |
|
|
First of all, I want UTF-8 in the Linux console
If I remember correctly, there is a limit on the characters avaible in the Linux console, 400 or maybe 256, I think that was is kernel limitation.
Are there any workarounds or something? And what about the framebuffer, I'd imagine the solution would be a bit easier if you could use the power of the framebuffer.
And how does X do it? Through it's terminal emulators? How comes normal terminals can't do it... or can they ?
Hm, enough questions for now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bmichaelsen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/8206921454311a2208aadc.jpg)
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Wed Dec 08, 2004 2:13 am Post subject: |
|
|
Quote: | If I remember correctly, there is a limit on the characters avaible in the Linux console |
EDIT: 256
Code: | vc->vc_font.charcount = 256; /* FIXME Need to support more fonts */ |
from /usr/src/linux/drivers/video/console/fbcon.c line 620
Quote: | Are there any workarounds or something? |
Nope, this a hardware limit of the framebuffer text implementation, I think.
Quote: | And how does X do it? Through it's terminal emulators? |
Yes - how else?
Quote: | How comes normal terminals can't do it... or can they Smile? |
Short answer: "Normal" terminals expect 1 byte=1 character, which isnt the case with UTF-8.
http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Leffe Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/205410942741c1ae4f09c82.png)
Joined: 07 Apr 2004 Posts: 145 Location: Sweden
|
Posted: Wed Dec 08, 2004 12:24 pm Post subject: |
|
|
bmichaelsen wrote: | Quote: | If I remember correctly, there is a limit on the characters avaible in the Linux console |
EDIT: 256
Code: | vc->vc_font.charcount = 256; /* FIXME Need to support more fonts */ |
from /usr/src/linux/drivers/video/console/fbcon.c line 620
Quote: | Are there any workarounds or something? |
Nope, this a hardware limit of the framebuffer text implementation, I think. |
I checked it up, and VGA has a 512 character limitation :/
http://tldp.org/HOWTO/Unicode-HOWTO-2.html#ss2.1
Thank you!
I noticed there were a few fb-enhanced programs in app-i18n other than fbiterm, which I never got working, that could work... but they all need fonts from X or won't compile/work I think I'm going to install some kind of X11 implementation though. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Leffe Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/205410942741c1ae4f09c82.png)
Joined: 07 Apr 2004 Posts: 145 Location: Sweden
|
Posted: Mon Dec 13, 2004 10:57 pm Post subject: |
|
|
app-i18n/jfbterm handles unicode great!! As long as you have an unicode font like media-fonts/unifont or what it could be called
One issue though, less didn't like 'en_US.utf8', it wanted 'en_US.UTF-8' instead to display unicode... I should patch it.
Also, is there some browser other than w3m that handles unicode nicely, preferably without any configuring at all I haven't been able to get anything out of links (the links you get when you emerge links), maybe some other version has it? And how about lynx, ... Never mind, it was easy to enable it there... I like Links still though. What versions are in portage anyway? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|