Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2003

Tip: Looking for answers? Try searching our database.

JEditPane not showing apostrophe's in Red Hat, Solaris, etc.

Thread view: 
Joel - 04 Dec 2003 21:24 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.

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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.