[jdom-interest] Determining malformed chars during conversion

Dana M. Epp dana at vulscan.com
Sat May 4 22:37:12 PDT 2002


I am using the default UTF-8 encoding.

As such:
<?xml version="1.0" encoding="UTF-8"?>

Offending Line:
<Name>OpenSSH Channel Code Off by 1</Name>

Hex of Offending Line:

3C 4E 61 6D 65 3E 4F 70 65 6E 53 53 48 20 43 68 61 6E 6E 65 6C 20 43 6F 64
65 20 4F 66 66 20 62 79 20 31 3C 2F 4E 61 6D 65 3E 0D 0A

I do not see any special characters in there. Am I missing something?

---
Regards,
Dana M. Epp

----- Original Message -----
From: "Elliotte Rusty Harold" <elharo at metalab.unc.edu>
To: "Dana Epp" <dana at vulscan.com>; "Jdom" <jdom-interest at jdom.org>
Sent: Saturday, May 04, 2002 2:46 PM
Subject: Re: [jdom-interest] Determining malformed chars during conversion


>
> ><Name>OpenSSH Channel Code Off by 1</Name>
> >
>
> It could be a non-breaking space or a control character.
>
> What character set are you actually using? What character set does
> the encoding declaration say you are using?
> --
>
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> |          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
> |             http://www.cafeconleche.org/books/bible2/              |
> |   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
> +----------------------------------+---------------------------------+
> |  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
> |  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
> +----------------------------------+---------------------------------+
>




More information about the jdom-interest mailing list