Yes, I've done dumps to od -xc, and I agree - iconv is behaving correctly. Under Ubuntu 16.04 LTS, passing multibyte characters from a database into RTF, then on into LibreOffice caused the unknown character symbol (�) in LibreOffice. Using "unix2dos < in.txt | iconv -f UTF-8 -t CP1252 > out.txt" fixed that, then - seemingly by getting pure latin-1 into the RTF file, as the RTF spec. requires.
Now, under Ubuntu 18.04 LTS, it appears to cause the problem If I use this this transform, I get the unknown character symbol in the LO document, and if I leave it out, and put multibyte characters into the RTF, LibreOffice shows them correctly. So other things have changed, as well as ICONV, and I see other recent references to multibyte characters in RTF. And in any case, it's not really desirable to have non-ASCII latin-1 characters in a UTF8 environment. Thnk you for your care. Please close this bug report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1803327 Title: iconv no longer transforms UTF8 to CP1252 as it used to under Ubuntu 16.04 LTS. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1803327/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs