W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

Re: Dealing with encodings and file: URIs

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed, 29 Jul 2009 15:17:44 +0200
Message-ID: <4A704BF8.8090105@kosek.cz>
To: Norman Walsh <ndw@nwalsh.com>
CC: XProc Dev <xproc-dev@w3.org>
Norman Walsh wrote:

> You load that data into your pipeline with p:data:
> 
>   <p:data href="windows-1252.txt"/>
...
> Am I overlooking a better solution?

Shouldn't XProc then add new parameter called encoding which can be used
to override what you get from HTTP headers, something like:

<p:data href="windows-1252.txt" encoding="windows-1252"/>


-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Wednesday, 29 July 2009 13:18:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 July 2009 13:18:19 GMT