Re: [xsl] xml:space preserve on element converted to html textarea encoding issue

Subject: Re: [xsl] xml:space preserve on element converted to html textarea encoding issue
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 07 Jun 2011 19:09:22 +0100
On 07/06/2011 17:29, Karl Stubsjoen wrote:
 I've been writing everything out to
FO as UTF-8, so now I would need to switch between the two,



why? there is no possibility of any XML process caring whether the FO file is in utf8 or ascii so you could use ascii for both.


If you used the xhtml or html output methods for your html then the /> syntax wouldn't be used anyway, so that's another possibility.

Or you could use utf8 for both, you haven't explained why your browser is showing a utf8-encoded html file as latin1, all current browsers understand utf8.


David


Current Thread