[Home] [By Thread] [By Date] [Recent Entries]
Andrew Welch wrote:
Indeed. Things tend to get awkward and downright confusing (especially to the unaware) when you have error messages written in encoding X, and displayed in encoding Y, while you have the stdout viewer of your system displaying in encoding A and writing to in encoding B. With the quite explicit encoding of XML related technologies (not explicit enough to my taste, still: http://www.w3.org/TR/xslt20/#function-unparsed-text, points 1 and 2 before point 3), the future looks better than the past. But having <xsl:output encoding="utf-8" /> and using the Console for your testing (which displays both stderr and stdout) you may run into unpleasant surprises. The rule as you say: "input/output should be all the same and be aware of implicit conversion" seems easy at first sight, but there's so much involved and so much history that it can be quite hard to find out if What You See is REALLY What You Get. Cheers, Abel
|

Cart



