1821808 Members
3265 Online
109638 Solutions
New Discussion юеВ

a2ps with german umlauts

 
Juerg DENNEBERG
Advisor

a2ps with german umlauts

Hi you all
I have to convert an ascii-file into postscript. The file contains german umlauts. Therefore the file will not be convertetd. I get the message: "(binary): ignored".
What can I do to avoid this error?
Many Thanks
Juerg Denneberg
The personal liberty goes so far as it does not affect the liberty of others
3 REPLIES 3
Olav Baadsvik
Esteemed Contributor

Re: a2ps with german umlauts


Hello,

What software/command do you use to convert
from ascii to postscript.

It could be that this software does not
handle 8-bit national characters correctly
due to uncorrect use of functions like
isalpha(), islower() etc.

Regards
Olav
RolandH
Honored Contributor

Re: a2ps with german umlauts

Hallo Juerg,

set your LC_ALL to de_DE.iso88591
perhaps it will work than.

# LC_ALL=de_DE.iso88591
# export LC_ALL
# locale
LANG=C
LC_CTYPE="de_DE.iso88591"
LC_COLLATE="de_DE.iso88591"
LC_MONETARY="de_DE.iso88591"
LC_NUMERIC="de_DE.iso88591"
LC_TIME="de_DE.iso88591"
LC_MESSAGES="de_DE.iso88591"
LC_ALL=de_DE.iso88591

# echo "????????" |a2ps -d

Regards
Roland
Sometimes you lose and sometimes the others win
Juerg DENNEBERG
Advisor

Re: a2ps with german umlauts

Hello

Thanks to you all.

I am using a2ps.

I now found the solution:

I have to add the option

--print-anyway=yes

Have a good day

Juerg
The personal liberty goes so far as it does not affect the liberty of others