On Wed, Jan 05, 2005 at 04:44:45PM -0500, Justin Pryzby wrote:
> On Wed, Jan 05, 2005 at 04:42:32PM -0500, William Ballard wrote:
> > Is there a unicode shell which does all piping in Unicode?
> > cmd.exe in NT has a switch that does all piping in Unicode
> Does it make a difference?  Shouldn't a pipe just move the data
> independent of any interpretation?

Of course you're right.  But building XML with shell commands
was always a lot easier when I could count on all shell output
being 2-byte Unicode.  It was a neat bit of magic, ascii and
utf-8 text files would get turned into Unicode and I'd pipe
them to cscript.exe and my XML would never break.

Unicode and XML are like chocolate and peanut butter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to