Re: wide-char support with different builds

Thomas Dickey <[email protected]> Sun, 3 Aug 2025 13:51:38 -0400
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On Sat, Jan 18, 2025 at 01:49:24PM +0100, Steve White wrote:
> 
> I was curious enough to build it myself on the Manjaro system.
> I now see what the problem is.  I have a recommendation.
> 
> The default configuration has
> 	CHARACTER_SET:iso-8859-1
> simply changing the value in /etc/lynx.cfg to
> 	CHARACTER_SET:utf-8
> resolves the issue.
> 
> The thing is, in this day and age, the *right* encoding is UTF-8.

revisiting this: that's assuming that lynx uses ncurses/ncursesw.

For _any_ other library configuration that I'm aware of, that's incorrect.

That's not lynx's fault, but makes it awkward to change :-)

> But the builder of distro software generally has little time to tweek each
> package they build.  The default configuraton should be UTF-8, if the
> system can handle it (which all modern systems do.)

try to avoid misusing "modern" - it's not going to improve my attitude.
 
> It would be much better for your configuration to detect UTF-8 support
> (however it needs to) and to set the CHARACTER_SET accordingly.
> 
> Cheers!
> 
> 

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGyBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmiPoaoACgkQzCr0RyFn
vgN47gv40PGrZH3A0sloTnRZ3EQkJUhdN2bLKqpSkQmWFPqIri2zkAYKdJTE/9DA
ATUTIH6F1sfp1ux/0LOO5CIN+iwsStq06NkJrXyztPRtRgdLd73oHTKCvIh0yoiI
PLlicGqBsLFrALpcleItzpLxeB7eH7GvLMHFDR5ne/TOLSSBaMqe6k2VXKpnx24D
HK4nbDMh34WckMeKtuSSXCmxySXIend0OlANXBoOG0Pp2tt1AfuIYRNGHwGwVAP4
RCKpHvEDrZyktlo6dWz9krDOuQWpyhGdXMATCSomFrvXvU+fgqZyAnn/yKZvbwTa
n6yhSyMJcgqezsFShwhTv77NqgoiJZ4WowAqSsmn3YlxGcYitMtl0yFQ6RnbUQJt
gqY4bU9EJsOtBWtoOM5Lua40Po+HoSFToa57cnrFPaskgYg5niVuUpeiOzM08KAR
4uGgV9chW+AjqlF8pfZr4PeKiFpa7zDFn1Y6ZxIyEAyZtuvXDAyaX23iuZz0O/Gv
iTOu0X4=
=V62z
-----END PGP SIGNATURE-----