From: Colin P. A. <co...@co...> - 2004-08-30 19:08:21
|
>>>>> "Colin" == Colin Paul Adams <co...@co...> writes: >>>>> "Colin" == Colin Paul Adams <co...@co...> writes: Colin> I put the file through the example/xml/event/print program, Colin> and that prints correctly. Colin> And SE (with or without assertions) transforms printing the Colin> copyright symbol correctly. No it doesn't! What was happening was I was viewing the output from the SE run on the terminal - being a linux terminal, it treats all output as UTF-8, and so displays the two characters (bytes) as a single copyright. But when I divert standard output to a file, and view it with emacs, I see it as two characters. Since it is supposed to be serialised as Latin-1, then this is incorrect. So I might have to look again at my debugging output - if I switch emacs into displaying a buffer as UTF-8, maybe that will be more revealing. Oh well, I'm making progress elsewhere whilst I'm trying to puzzle this one out - I've got xml indenting and xhtml output method working now. So as soon as I can crack this one, I can start writing the gexslt command line tool. -- Colin Paul Adams Preston Lancashire |