🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12012

Re: HTML codes are not correctly displayed in JTextPane

#12012
From: Carlos Javier Castro Pena
Date: Mon, 08 Mar 1999 00:00
22 lines
1634 bytes
I am using JDK 1.1.7 . It seems that HTML support works well for English, but
not for characters of other languages.

"Joseph T. Baysdon" wrote:

> What version of the JDK are you using?  JDK1.2 supposedly has full support
> for HTML 3.2, and I've had good success displaying various HTML tags in a
> 1.2  JEditorPane.  I must admit though that I've not tried the specific
> codes (";" and "&") that you mentioned.  (Also, I've had some trouble with
> incorrectly handled HTML tags in my applets, but my applications work
> fine.)
>
> "C. Javier Castro Pe�a" wrote:
>
> > I am trying to do some help files in html format, to show them with a
> > JTextPane. I created an html file with netscape, but JTextPane does not
> > a good job at displaying it.    ; and other codes that begin with & are
> > shown (the code is shown). Some of this & codes are accents, that are
> > sometimes correctly displayed (but in uppercase), and sometimes are not
> > displayed.
> >
> > What could be the problem?
Technical Details
Message-ID: <36E40A1D.61E2B3E2@ittc.ukans.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36B8DD42.B0540845@iname.com> <36E042E2.5348A7B7@gsc.gte.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,c77cb1aed0fe3c5c
X-Google-Attributes: gid111d45,public
From: Carlos Javier Castro Pena <jcaspen@ittc.ukans.edu>
Subject: Re: HTML codes are not correctly displayed in JTextPane
Date: 1999/03/08
Message-ID: <36E40A1D.61E2B3E2@ittc.ukans.edu>
X-Deja-AN: 452641201
Content-Transfer-Encoding: 8bit
References: <36B8DD42.B0540845@iname.com> <36E042E2.5348A7B7@gsc.gte.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: ITTC - University Of Kansas
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing