Lynx doesn’t display some Unicode characters properly

For me, it’s the Lithuanian ą, č, ę, ė and their uppercases. Funny enough, the rest of these characters were displayed OK.

It’s easy to find on Google that this is because of lynx having been compiled against ncurses, whereas you would need ncursesw (with wide character support).

Modify /usr/ports/www/lynx/Makefile to have

CONFIGURE_ARGS+=--with-screen=ncursesw --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-persistent-cookies \
--with-ssl="${OPENSSLBASE}"

instead of

CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-persistent-cookies \
--with-ssl="${OPENSSLBASE}"

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: