[Remind-Fans] Unicode problems with rem2ps and my radical solution

rr rrandom at dismail.de
Sun Jan 23 09:49:42 EST 2022


Thanks. Unfortunately, my language is one of that out-of-luck languages. But it's strange for me that PS can't work with UTF8 while groff can produce unicode-compatible ps documents.

On January 23, 2022 5:31:11 PM GMT+03:00, Dianne Skoll via Remind-fans <remind-fans at lists.skoll.ca> wrote:
>On Sun, 23 Jan 2022 17:16:48 +0300
>rr via Remind-fans <remind-fans at lists.skoll.ca> wrote:
>
>> I found that rem2ps can't print UTF-8 symbols.
>
>That is true.  Handling Unicode in Postscript is a giant nightmare.
>
>> So to print calendar in my Unicode language I need to run rem2html,
>> adjust page size and so on.
>
>That's one option.  Another option, if you are using only characters
>that appear in the ISO-8859-1 character set (ie, most Western European
>languages) is to use iconv to conver to ISO-8859-1 and then the "-i"
>option for rem2ps.
>
>Given this input file:
>
>   rem 15 MSG étudiant noël français 
>
>Running:
>
>   remind -p /tmp/test.rem | rem2ps -e -l -c3 -i |\
>   iconv -f utf-8 -t iso-8859-1  > /tmp/test.ps
>
>yields the attached Postscript file.  Of course, if you're using
>non-ISO-8859-1 characters like ℵ or 不, then you are out of luck.
>
>Regards,
>
>Dianne.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dianne.skoll.ca/pipermail/remind-fans/attachments/20220123/b9757c27/attachment.htm>


More information about the Remind-fans mailing list