I am passing HTML to a JEditPane in my Java Application which works
fine in Windows, but can someone tell me why apostrophes (') are not
being rendered correctly on Red Hat, Solaris, etc. It just displays a
box.
Thanks!
Andrew Thompson - 05 Dec 2003 04:41 GMT
> I am passing HTML to a JEditPane in my Java Application which works
> fine in Windows, but can someone tell me why apostrophes (') are not
> being rendered correctly on Red Hat, Solaris, etc. It just displays a
> box.
Could be something top do with either invalid HTML,
or missing fonts, or a number of other things, but since
you did not provide example code, it is impossible to say.
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
Harald Hein - 05 Dec 2003 05:19 GMT
> I am passing HTML to a JEditPane in my Java Application which
> works fine in Windows, but can someone tell me why apostrophes (')
> are not being rendered correctly on Red Hat, Solaris, etc. It
> just displays a box.
Windows users and Windows programs have a strange habbit. They type
another character insted of the ('), the (?), or (`) and think they are
the same. They are not.
Clean up your document. This includes giving it a charset name which is
used in the civilised world, and not some propritary windows "code
page". You might also want to have a look at something like HTMLTidy to
get rid of even more cruft.