Subject:Character Encoding of an existing document? Author:Minollo I. Date:21 Sep 2006 01:41 PM
If you are talking about XSLT documents, the encoding is visible in (and can be changed from) the "Params/Other" editing tab; of course you can also directly change the encoding attribute in the XML PI declaration.
If you are talking about XML documents, the current encoding is only visible through the XML PI declaration; but you can change it through the list of support character sets available under Edit > Change Encoding.
Subject:Character Encoding of an existing document? Author:Minollo I. Date:21 Sep 2006 04:33 PM
There should never be any difference between the XML PI information and the *actual* encoding; if there is, then it's very easy that you get parsing/encoding errors when opening the document.
Stylus Studio relies on the file BOM (the file encoding information) to read the XML PI; but anything that follows is decoded according to the information contained in the XML PI declaration itself.
BTW, just to stress this again; the Params/Other tab describes the encoding of the XSLT itself, not of the XML document(s) accessed by the XSLT.