In the past this was often caused by viewing Unicode character strings as if
they are ASCII. Unicode strings use two bytes for each character while
ASCII uses only one. Most Latin characters in Unicode have their first byte
as 0x00, so the stream for "Hi!" would look like:
FFFE480069002100
(My byte order may be wrong!) The first two bytes identify the stream as
Unicode.
Anyway, if you look at this as single byte characters, you'll see a space,
or really a non-printable character value, in-between each printable
characters.
Steve
-----Original Message-----
From: Morten Andersen [mailto:mortena(_at_)mip(_dot_)sdu(_dot_)dk]
Sent: Tuesday, July 15, 2003 8:48 AM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] spaces between all characters in JDom output
I've parsed some html into a JDom document and outputtet it to another
String. There is a space between all the characters in the output. How do I
solve that?
(Something to do with encodings??)
Thanks
Morten Andersen
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
This communication is intended solely for the use of the addressee and may
contain information that is legally privileged, confidential or exempt from
disclosure. If you are not the intended recipient, please note that any
dissemination, distribution, or copying of this communication is strictly
prohibited. Anyone who receives this message in error should notify the
sender immediately and delete it from his or her computer.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list