[2023-08-26 14:33] David Levine <levin...@acm.org> > Philipp wrote: > > > LANG=en_US.UTF-8 > > LC_ALL= > > > I have "#define HAVE_ICONV 1" in config.h. I just run autogen.sh and > > configure without any arguments. > > Thanks, those match what I use. > > I just committed a fix to test-mhfixmsg. Different html renderers > produced different output. I replace a non-breakable space with a > space so the output is now the same from w3m, lynx, and elinks.
This test now passes. > I don't know why your test_binary would count 26 bytes instead of 23. > Can you post or send me your /tmp/nmh/test/testdir/test-binary<pid>.actual > file? Or better, run od -ax on it and post that? Here you go: $ od -ax /tmp/nmh/test/testdir/test-binary302898.actua 0000000 [ sp M e s s a g e sp i n b o x : 205b 654d 7373 6761 2065 6e69 6f62 3a78 0000020 1 1 sp ] nl T o : sp sp sp sp sp sp r e 3131 5d20 540a 3a6f 2020 2020 2020 6572 0000040 c i p i e n t @ e x a m p l e . 6963 6970 6e65 4074 7865 6d61 6c70 2e65 0000060 e d u nl F r o m : sp sp sp sp s e n 6465 0a75 7246 6d6f 203a 2020 7320 6e65 0000100 d e r @ e x a m p l e . e d u nl 6564 4072 7865 6d61 6c70 2e65 6465 0a75 0000120 S u b j e c t : sp t e s t sp b i 7553 6a62 6365 3a74 7420 7365 2074 6962 0000140 n a r y sp c o n t e n t nl nl M I 616e 7972 6320 6e6f 6574 746e 0a0a 494d 0000160 M E - V e r s i o n : sp 1 . 0 nl 454d 562d 7265 6973 6e6f 203a 2e31 0a30 0000200 nl [ sp p a r t sp sp - sp t e x t / 5b0a 7020 7261 2074 2d20 7420 7865 2f74 0000220 p l a i n sp - sp sp sp 2 6 B sp sp ] 6c70 6961 206e 202d 2020 3632 2042 5d20 0000240 nl H e r e ' s sp a sp n u l l sp b 480a 7265 2765 2073 2061 756e 6c6c 6220 0000260 y t e : sp \ x 0 0 . nl 7479 3a65 5c20 3078 2e30 000a 0000273 Philipp > > David >