Summary: | Can't get unicode to work with Links | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ta2002 <throw_away_2002> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | azamat.hackimov, devil, petr.pisar, skrattaren, vanquirius |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ta2002
2006-03-30 11:25:06 UTC
can you put you info about next: $ locale example link to utf-8 html page and show you broken screen with this page please did you know what links have full utf-8 support if you use graphical mode with -g command option? i am compile links and run it in terminal and w/ -g option - in terminal shows only ASCII in graphical show unicode I tested on my blog - http://blog.devil.mk.ua $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE=POSIX LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= A simple one: http://slovo.info/testuni.htm I don't know how you want me to show what I see, but copying it (using Konsole): +--------------------------------------------------------------------------------------------------------------------------------------+ | Description | This is what your browser shows... | ...and this is what you should see | |----------------------------------------------------+----------------------------------------+----------------------------------------| | Czech and Slovak characters | s t z l c e d n r u l | | | | S T Z L C E D N R U L | | |----------------------------------------------------+----------------------------------------+----------------------------------------| | Polish characters | l a z e c n s z | | | | L A Z E C N S Z | | |----------------------------------------------------+----------------------------------------+----------------------------------------| | Romanian characters | A a S s T t | | |----------------------------------------------------+----------------------------------------+----------------------------------------| | Croatian and Slovenian characters | s c z c d/ | | | | S C Z C D/ | | |----------------------------------------------------+----------------------------------------+----------------------------------------| | Hungarian characters | O" o" U" u" | | |----------------------------------------------------+----------------------------------------+----------------------------------------| | German characters | A:, a:, O:, o:, U:, u:, ss | | |----------------------------------------------------+----------------------------------------+----------------------------------------| | | abvgdeyozhzijklmno | | | | prstufhcchshch'y~e'yuya | | | Russian alphabet | ABVGDEYOZHZIJ | | | | KLMNOPRSTUF | | | | HCCHSHSHCH'Y~E'YUYA | | |----------------------------------------------------+----------------------------------------+----------------------------------------| | Special Byelorussian and Ukrainian characters | V% v% IE ie G3 g3 | | |----------------------------------------------------+----------------------------------------+----------------------------------------| That matches exactly what I see. :) Just for completeness: $ equery uses links [ Searching for packages matching links... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for www-client/links-2.1_pre19 ] U I + + X : Adds support for X11 + + directfb : Adds support for DirectFB layer (library for FB devices) + + fbcon : Adds framebuffer support for the console, via the kernel + + gpm : Adds support for sys-libs/gpm (Console-based mouse driver) + + javascript : Enables javascript support + + jpeg : Adds JPEG image support - - livecd : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during livecd building. + + png : Adds support for libpng (PNG images) + + ssl : Adds support for Secure Socket Layer connections - - svga : Adds support for SVGAlib (graphics library) + + tiff : Adds support for the tiff image format + + unicode : Adds support for Unicode OK, it does show unicode in graphical mode (well, on that page I gave before, it has a couple of characters wrong, but close enough). I guess I just assumed it would work in text mode (which I frequently use to save bandwidth). Is it supposed to work in text mode (I don't know why it shouldn't)? >Is it supposed to work in text mode (I don't
know why it shouldn't)?
I think so not, becouse in text mode i dont find in configuration how i can use utf-8 charsets.
May be you try w3m ? in text console it support unicode very well :)
Links doesn't support full UTF-8 output on terminal (there are only fixes to draw lines on such terminal). Therefore it translates "ä" into "a:" or removes diacritics for other characters like "á" -> "a". This is reminiscence from old ages when the program was developed for Czech audience using linux virtual terminals without ability to show all ISO-8859-2 characters. I agree it's curious today, but nobody has been motivated enough to fix it up to the present day. Hello. www-client/links-2.3_pre1-r1 unicode support is broken again. USE="unicode" do nothing. Yay, I could read both Cyrillic and extended Latin in www-client/links-2.4-r1 now! (Setup > Character set > Unicode UTF-8) (In reply to comment #7) > Yay, I could read both Cyrillic and extended Latin in www-client/links-2.4-r1 > now! > > (Setup > Character set > Unicode UTF-8) Yes, this new feature from upstream. (In reply to comment #8) > (In reply to comment #7) > > Yay, I could read both Cyrillic and extended Latin in www-client/links-2.4-r1 > > now! > > > > (Setup > Character set > Unicode UTF-8) > > Yes, this new feature from upstream. Suppose so. But the bug is fixed and could be closed at last, ain't it? |