[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #42870] `.hcode' and `.hw' are limited to raw 8bit characters but s
From: |
G. Branden Robinson |
Subject: |
[bug #42870] `.hcode' and `.hw' are limited to raw 8bit characters but should accept any characters entities. |
Date: |
Mon, 29 Jul 2024 12:57:16 -0400 (EDT) |
Follow-up Comment #7, bug #42870 (group groff):
In case anyone's curious, here's a demonstration of "raw 8-bit characters"
working with `hw`. I know that's not what's complained about but since I'm
digging into this, I thought I would share it.
$ cat EXPERIMENTS/kindergarten-utf8.groff
.if r HW .hw kin-der-gär-ten
.ll 62n
\c
.nr oldline \n[nl]
.while (\n[oldline] = \n[nl]) kindergärten
.pl \n[nl]u
$ iconv -f utf-8 -t iso-8859-1 EXPERIMENTS/kindergarten-utf8.groff >|
EXPERIMENTS/kindergarten.groff
$ ./build/test-groff -T utf8 EXPERIMENTS/kindergarten.groff
kindergärten kindergärten kindergärten kindergärten
kindergärten
$ ./build/test-groff -r HW=1 -T utf8 EXPERIMENTS/kindergarten.groff
kindergärten kindergärten kindergärten kindergärten kindergär‐
ten
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?42870>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [bug #42870] `.hcode' and `.hw' are limited to raw 8bit characters but should accept any characters entities.,
G. Branden Robinson <=
Message not available
Message not available
Message not available
Message not available
Message not available