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

rr rrandom at dismail.de
Sun Jan 23 09:54:28 EST 2022


Also I found some tool called "paps" to convert unicode to ps. Maybe it can be useful?

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/6322d432/attachment.htm>


More information about the Remind-fans mailing list