Follow-up Comment #20, bug #42870 (group groff): This works with simple and composite Unicode-style special character escape sequences too.
$ cat EXPERIMENTS/hw-with-special-character.groff
.\" groff -K utf8
.na
.ll 5n
.hw h\['a]-worth
Jack H\['a]worth is an agent of destruction.
Jack H\[a aa]worth is an agent of destruction.
Jack H\[u00E1]worth is an agent of destruction.
Jack H\[u0061_0301]worth is an agent of destruction.
Jack Háworth is an agent of destruction.
.pl \n[nl]u
$ ./build/test-groff -T utf8 -Wbreak -K utf8
EXPERIMENTS/hw-with-special-character.groff
Jack
Há‐
worth
is an
agent
of
de‐
struc‐
tion.
Jack
Há‐
worth
is an
agent
of
de‐
struc‐
tion.
Jack
Há‐
worth
is an
agent
of
de‐
struc‐
tion.
Jack
Há‐
worth
is an
agent
of
de‐
struc‐
tion.
Jack
Há‐
worth
is an
agent
of
de‐
struc‐
tion.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?42870>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
