Article View: borland.public.jbuilder.java.language
Article #17019Re: How do I put a "(TM)" symbol in dialog caption bar?
From: Tor Iver Wilhelmsen
Date: Mon, 28 Dec 1998 00:00
Date: Mon, 28 Dec 1998 00:00
21 lines
1547 bytes
1547 bytes
"Dr. Matt H. Stevens" <mhstevens@mmm.com> writes: > Steve, Just one more bit of info ... I went to the CONTROL PANEL/ Display > Parameters/ Appearence Tab and selected a different font type to be applied > to the title bars, BUT the \231 symbol still doesn't appear even > though it clearly is a part the font set as seen in the charcter mapping > utility in the accessories area. Do I need to modify some other file like > the font.perferences file under the Java runtime directory? The Windows 95 "TM" character occurs in a place where Unicode has no characters, hence Java will not display it; the Unicode TM symbol is located elsewhere. Looking at the Unicode lists that ship with the HTML 4.0 specs, the trademark symbol is at character position 8482, which you can use directly: char tm = (char) 8482; However, you need to configure fonts.properties so that it can find a glyph for it (your \231, for instance).
Technical Details
Message-ID:
<u3e6038li.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3676E858.E7512F53@mmm.com> <36a90523.156112982@90.0.0.40> <3678178D.58A0AAC1@mmm.com> <36dc48f2.239020363@90.0.0.40> <367E9B91.E7E2BF45@mmm.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8731a3c6693330b5 X-Google-Attributes: gidf74b3,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: How do I put a "(TM)" symbol in dialog caption bar? Date: 1998/12/28 Message-ID: <u3e6038li.fsf@sds.no> X-Deja-AN: 426392753 Sender: towi@SDSA1761 References: <3676E858.E7512F53@mmm.com> <36a90523.156112982@90.0.0.40> <3678178D.58A0AAC1@mmm.com> <36dc48f2.239020363@90.0.0.40> <367E9B91.E7E2BF45@mmm.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language