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

Dianne Skoll dianne at skoll.ca
Sun Jan 23 09:31:11 EST 2022


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 --------------
A non-text attachment was scrubbed...
Name: test.ps
Type: application/postscript
Size: 20830 bytes
Desc: not available
URL: <http://dianne.skoll.ca/pipermail/remind-fans/attachments/20220123/e4b177d1/attachment-0001.ps>


More information about the Remind-fans mailing list