WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2007, 02:40 PM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,424
dharrison RepRank 3dharrison RepRank 3
Default Trademark Character Entity Reference - not compliant

Hi all

I am in the process of testing one of my customer's websites: www.storvite.com and as their product is trademarked, I have tried both character entity references: ™ and ™ and on W3 XHTML 1.0 validator, I am getting an error:

non SGML character number 153

Please help. Is there a workaround?

Any help gratefully received.

Thanks
__________________
Deb Harrison
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
  #2 (permalink)  
Old 05-15-2007, 04:50 PM
WebProWorld New Member
 

Join Date: Mar 2007
Posts: 9
bingo2 RepRank 0
Default trademark validation

I too would like to know the answer to this one. Very frustrating!
Reply With Quote
  #3 (permalink)  
Old 05-15-2007, 04:57 PM
debase23's Avatar
WebProWorld New Member
 

Join Date: Jun 2004
Location: NH, US
Posts: 21
debase23 RepRank 0
Default character set?

I had a similar problem a few years ago, but similar on the most crudest level. I figured out that the page I was editing referred to a foreign language character set in the code. Or maybe it was the fact that it did not refer to a character set? Once I specified the Unicode, the little ™ guy was fine and showed up in all the browsers I tested.

I hazard to guess that the incorrect character set/lack of specification provides the wrong info to the Validator.
Reply With Quote
  #4 (permalink)  
Old 05-15-2007, 04:58 PM
WebProWorld New Member
 

Join Date: Dec 2005
Posts: 9
heavener RepRank 0
Default

Quoting from The HTML Writers Guild website:

"There is currently no standard for TM or SM. The most universal way is to mark them up as smaller, superscripted text:
<SUP>TM</SUP>"

See http://www.hwg.org/resources/faqs/copyrFAQ.html for the rest of the article.

In fact, when HomeSite inserts the TM symbol, it uses the code above.

Best to you,
Michael
Reply With Quote
  #5 (permalink)  
Old 05-15-2007, 04:59 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,782
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default

I tested this on my web site, which validates as XHTML strict, and &trade; does validate in the W3C validator as well as Tidy and my SGML parser. However, when I checked your source code, the trademark character is shown as the TM character, not as &trade;. What software are you using to edit your site?
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #6 (permalink)  
Old 05-15-2007, 05:01 PM
WebProWorld Member
 

Join Date: Jun 2006
Location: islip, ny
Posts: 42
philscanlan RepRank 0
Default

I believe you should be able to use characters like this if you serve the page as utf-8 character encoding. Using meta:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
and save your page in a text editor as utf-8 with no BOM (byte order mark) if your editor lets you do that.

or try using & #8482; instead of &trade;
__________________
if you're reading this, I'm bored
Reply With Quote
  #7 (permalink)  
Old 05-15-2007, 05:07 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,782
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default

Also, please note, "non SGML character number" refers to the TM character, if &trade; was not recognized, the validator should have given you a different error, "invalid entity" or similar. If you got the same error message for both methods, your web page editor may be converting the &trade; tag that you entered into the TM character.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #8 (permalink)  
Old 05-15-2007, 07:05 PM
Orion's Avatar
WebProWorld Veteran
 

Join Date: Sep 2003
Location: Halton Hills, ON
Posts: 582
Orion RepRank 2
Default

philscanlan is correct ™ and utf-8 encoding gives me valid in both xhtml 1.0 strict and transitional.. never checked 1.1 but I'm sure it's ok also.
__________________
Ron Boyd
Web design & site management :: Ron's blog
Reply With Quote
  #9 (permalink)  
Old 05-15-2007, 08:02 PM
Keimos's Avatar
WebProWorld Veteran
 

Join Date: Jul 2003
Location: United Kingdom
Posts: 479
Keimos RepRank 0
Default Trademark Character Entity Reference

Hi all,

For ™ it is &(ampersand)#8482;for Trademark and works with

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

keimos
__________________
Keimos - Always learning something new each day
www.keimos.co.uk , www.keimos.net , www.selfpacedit.co.uk
Reply With Quote
  #10 (permalink)  
Old 05-15-2007, 10:25 PM
WebProWorld New Member
 

Join Date: Apr 2006
Location: Huntsville, AL
Posts: 22
toolameforyou RepRank 0
Default

Quote:
Is there a workaround?
If none of the above works you could always make that bit an image (the whole trademark notice). It could appear as a small button or badge on the pages.
__________________
You'll never be more rich than you are thankful.

http://www.a-1appliance.com
http://www.RocketCityHosting.com
Reply With Quote
  #11 (permalink)  
Old 05-16-2007, 02:20 AM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,424
dharrison RepRank 3dharrison RepRank 3
Default

I am using the 8482, but even in my forum post, it converts to TM. I use CuteHTML as my coding package and yes it does convert it for me sometimes.

Thanks Phil (and all of you really) I shall try the UTF-8 line and see what happens.
__________________
Deb Harrison
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
  #12 (permalink)  
Old 05-16-2007, 08:50 AM
DrTandem1's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2003
Location: Encinitas, CA
Posts: 1,908
DrTandem1 RepRank 2
Default

Quote:
Originally Posted by dharrison
I am using the 8482, but even in my forum post, it converts to TM. I use CuteHTML as my coding package and yes it does convert it for me sometimes.

Thanks Phil (and all of you really) I shall try the UTF-8 line and see what happens.
I'm not sure what you mean by "it converts to TM." The ™ (that's the 8482 version) is the way to go and it does validate.

By the way, you say that your client's product is trademarked. In that case, you do not want to use ™. You should use ® (this would be &#174 ending with the semicolon). The ™ is used to show a claim of a pending trademark while the ® is reserved (by law) for something that has actually been registered by the USPTO.

Of course, you're in the UK, and I'm speaking for the US and US trademarks.
__________________
DrTandem's San Diego Web Page Design, drtandem.com
Reply With Quote
  #13 (permalink)  
Old 05-16-2007, 09:02 AM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,424
dharrison RepRank 3dharrison RepRank 3
Default

DT1, when I say it converts to ™, I (we) mean that even if we type in the character entity reference 8482, my HTML package automatically converts it to ™. I hope that makes sense.

Also I have no idea ref the trademark, etc. They use the trademark ™ alongside the company name on their literature, I was just following suit.

I shall get in touch with them though and check.

Thanks for that DT1, as always :)
__________________
Deb Harrison
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
  #14 (permalink)  
Old 05-16-2007, 11:18 AM
DrTandem1's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2003
Location: Encinitas, CA
Posts: 1,908
DrTandem1 RepRank 2
Default

For "Eppogran," I don't find a US trademark. So, it may be a UK thing.
__________________
DrTandem's San Diego Web Page Design, drtandem.com
Reply With Quote
  #15 (permalink)  
Old 05-17-2007, 09:33 AM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,424
dharrison RepRank 3dharrison RepRank 3
Default

It probably is solely UK DT1.

Also UTF-8 might be compliant but leaves a weird character of a black diamond with a question mark. ?!?

So now I don't know. Did you all see the ™ when you viewed the site or a load of goobledygook?
__________________
Deb Harrison
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0