Running this stylesheet and input file through the standard Xalan command-line driver (Process) yields the UTF-8 sequence 0xe4 0xb8 0x80.... which, if I'm correctly remembering how the bytes get spread across this sequence, looks reasonable.
Debugging suggestion: check your output DOM to make sure it's getting the correct character (the DOMBuilder, or the DOM, could be miscoded), Then check the rendering of the DOM as a string. But I'm actually most inclined to suspect that the problem is in your final System.out.print call. ______________________________________ Joe Kesselman / IBM Research
