Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1441
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: Using special characters like © |
| Organization | Decebal Computing |
| References | <87a9lpdvnm.fsf@Aspire.decebal.nl> <1adf2700-2a2a-41ad-9878-bb2e733e9cb1@googlegroups.com> |
| Date | 2013-07-15 14:10 +0200 |
| Message-ID | <87sizgrpl4.fsf@Aspire.decebal.nl> (permalink) |
Op zondag 14 jul 2013 18:50 CEST schreef luser:
>> - I need to use \251, because if I use © in the generated PDF I
>> get: ©. Why?
>
> Looks like you're getting a 2-byte Unicode character.
> Postscript really doesn't work with Unicode.
Solved it by writing a preprocessor:
echo ${line} | awk '{
gsub(/©/, "\251");
print}' >>${EXP_FILE}
Missing a lot of flutes and whistles, but those are not necessary at
the moment.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.postscript | Previous | Next — Previous in thread | Find similar | Unroll thread
Using special characters like © Cecil Westerhof <Cecil@decebal.nl> - 2013-07-14 17:10 +0200
Re: Using special characters like © luser- -droog <mijoryx@yahoo.com> - 2013-07-14 09:50 -0700
Re: Using special characters like © Helge Blischke <h.blischke@acm.org> - 2013-07-14 20:41 +0200
Re: Using special characters like © Cecil Westerhof <Cecil@decebal.nl> - 2013-07-14 20:34 +0200
Re: Using special characters like © Cecil Westerhof <Cecil@decebal.nl> - 2013-07-15 14:10 +0200
csiph-web