🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.appletalk
Article #5902

Re: lwsrv stripping meta characters

#5902
From: Dan Sahlin
Date: Mon, 22 May 1989 17:34
23 lines
1416 bytes
In article <3776@phri.UUCP> roy@phri.UUCP (Roy Smith) writes:
>Lwsrv seems to strip the high bit from every character.
>People have reported that if they print a document on the lwsvriced (have I
>take verbification too far with that one?) printer, all their degree signs
>get turned into zeros.

You should run lwsrv with the switch "-T quote8bit" so that characters
having their eighth bit set are converted into "\octalnumber".

However, there is a slight problem with that solution:  PostScript only
recognizes \octalnumber in strings, but the conversion is done for
(almost) all characters, even in names.  I noticed the problem when I
tried to print using an Arabic downloadable font which had a very strange
name.  My solution was simply to enable the \-conversion only inside
strings.  It works fine.

I sent the fix to Charlie C.  Kim, but it is unclear whether it will be
included in later versions of lwsrv.  If you have a similar problem, I can
send you the diffs.

	/Dan Sahlin, SICS

email: dan@sics.se
Technical Details
Message-ID: <2681@osiris.sics.se>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!kth!sunic!sics.se!dan
References: <3776@phri.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!kth!sunic!sics.se!dan
From: dan@osiris.sics.se (Dan Sahlin)
Newsgroups: comp.protocols.appletalk
Subject: Re: lwsrv stripping meta characters
Message-ID: <2681@osiris.sics.se>
Date: 22 May 89 17:34:38 GMT
References: <3776@phri.UUCP>
Reply-To: dan@sics.se (Dan Sahlin)
Organization: SICS, Swedish Inst. of Computer Science
Lines: 23