You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "In, Jae Woo" <Ja...@hp.com> on 2002/05/16 02:10:17 UTC

-u switch for DOMPrint

Could anyone suggest a method for testing the -u switch for DOMPrint.  Specifically, what is considered an unrepresentable character?  Thanks in advance.

Jae.

Re: -u switch for DOMPrint

Posted by Dean Roddey <dr...@charmedquark.com>.
For instance, create an ISO-8859-1 document, and somewhere in there use a
numerical character reference (something over 256) to create a character
that cannot be represented in 8859, then try to print it out in 8859 . It
won't be representable in the target encoding, so the output formatting
stuff will use your instructions to replace it either with a reference, or a
replacement char, or give up.

--------------------------
Dean Roddey
The Charmed Quark Controller
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

"If it don't have a control port, don't buy it!"


----- Original Message -----
From: "In, Jae Woo" <Ja...@hp.com>
To: "Apache XML Developer List" <xe...@xml.apache.org>
Sent: Wednesday, May 15, 2002 5:10 PM
Subject: -u switch for DOMPrint


Could anyone suggest a method for testing the -u switch for DOMPrint.
Specifically, what is considered an unrepresentable character?  Thanks in
advance.

Jae.



----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org