[cups.development] Hex encode text
Michael R Sweet
msweet at apple.com
Wed Oct 15 06:58:44 PDT 2008
keens312 wrote:
> Hi Michael,
>
> Is there any function in CUPS source we can study for encode invalid chars to text?
>
> For example:
> Input: LaserJet P555 MFP<>
> Output: LaserJet%20P555%20MFP%3C%3E
There is no general function for this. If you are creating a URI, the
httpAssembleURI and httpAssembleURIf functions handle hex encoding of
the URI fields.
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups-devel
mailing list