![]() |
Hi Someone that know a way of converting postscript file to ascii and that can handle swedish characters. Now when i convert the character � it diplays it as a* and � as a". I tried using gsub to convert a" to the character i want. but how should i write it gsub(/"a""/,"�") doesn't seem to work. This is a part of the script i use to get the text Subject with. SENDSUBJECT=`${PS2ASCII} ${FAXPAGE}.$i | ${AWK} '{ IGNORECASE=1 } /SendSubject ?: ?[[:alpha:]]*/ \ { $0=$0 "xxx"; \ anfang1=match($0,/SendSubject ?: ?/); \ anfang1=anfang1+match(substr($0,anfang1),/[@a-z0-9 + .]/)-1; \ gsub(/SendSubject:/,"")-1; \ ende1=match(substr($0,anfang1),/:EndSubject/)-1; \ printf ("%s",substr($0,anfang1,ende1));}' ` - \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ Jonny Axelsson ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*