Hi! Reduced testcase:
tg@blau:~ $ /usr/bin/lynx -width=90 -dump x.htm
I can see youඕre not fully up to standard yet, and wish you get better soon ᄎ
I can see you’re not fully up to standard yet, and wish you get better soon ☺
tg@blau:~ $ /usr/obj/gnu/usr.bin/lynx/lynx -width=90 -dump x.htm
I can see you’re not fully up to standard yet, and wish you get better soon ☺
I can see you’re not fully up to standard yet, and wish you get better soon ☺
tg@blau:~ $ cat x.htm
<html><head><title>x</title></head><body>
<p>I can see you’re not fully up to standard yet, and wish you get
better soon ☺</p>
<p>I can see you’re not fully up to standard yet, and wish you get better soon
☺</p>
</body></html>
Fix:
Index: src/UCdomap.c
===================================================================
RCS file: /cvs/src/gnu/usr.bin/lynx/src/UCdomap.c,v
retrieving revision 1.11
diff -u -p -r1.11 UCdomap.c
--- src/UCdomap.c 19 Feb 2012 19:38:18 -0000 1.11
+++ src/UCdomap.c 20 Feb 2012 00:46:07 -0000
@@ -2498,7 +2498,7 @@ BOOL UCScanCode(UCode_t *target, const c
errno = 0;
*target = 0;
- lcode = strtol(source, &endptr, isHex ? 12 : 10);
+ lcode = strtol(source, &endptr, isHex ? 16 : 10);
if (lcode >= 0
&& (endptr > source)
#if defined(ERANGE) && defined(LONG_MAX) && defined(LONG_MIN)
bye,
//mirabilos
--
“Having a smoking section in a restaurant is like having
a peeing section in a swimming pool.”
-- Edward Burr
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev