SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-11-2005, 02:59 PM
cyberdread cyberdread is offline
SEO Junior
 
Join Date: May 2005
Posts: 6 cyberdread is on a distinguished road
character encoding

I cant find a guide to choosing the right charset for my meta tag to add to my html. I also need one for my external stylesheets.
How do I choose a char set? I cant find anything that actually tells me.
is it based on the language I type in? the functions I use in my code? my star sign??? what?? how? ahhhh
Reply With Quote
  #2  
Old 05-11-2005, 08:42 PM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111 Paz has a spectacular aura aboutPaz has a spectacular aura about
Hi,

That's an under-rated tag....

the character set you use depends on your market (european or US etc...)...

I use this tag
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
and I find it does very well for scandanavian and west and east european referrals ... not so well for US though...

Which language are you writing for?

Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
  #3  
Old 05-12-2005, 02:15 AM
cyberdread cyberdread is offline
SEO Junior
 
Join Date: May 2005
Posts: 6 cyberdread is on a distinguished road
Im writing html and css (external style sheets) and maybe some javascript.
I still dont understand the use of a charset.
So if someone in china with a chinese keyboard typed a webpage in chinese characters and used a charset my browser would identify the charset and switch it to english characters which wouldnt make any sense becuase it would be a bunch of jumbled up english letters.
I thought americans speak english? do they have different keyboards or something?
I didnt even know char-sets existed until yesterday so forgive my ignorance.
Reply With Quote
  #4  
Old 05-12-2005, 02:16 AM
cyberdread cyberdread is offline
SEO Junior
 
Join Date: May 2005
Posts: 6 cyberdread is on a distinguished road
what market? well basically I want anyone who can understand english to be able to read my webpage......... rite?
Reply With Quote
  #5  
Old 05-12-2005, 03:23 AM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111 Paz has a spectacular aura aboutPaz has a spectacular aura about
Hi...

It's a big topic... but I'll have a stab...

Chinese visitors apart, I guess you mean charset problems such as an "Æ" in Finland appears as a "™" here in Turkey?

Well you are right, a browser has to decide which character set to use to display a page and gets a bit of help from the html coding with the "charset" metatag. These days, browsers have good international support and most things display OK, but you can sometimes help by using metatags:

Most people in the US use this metatag:
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

I prefer to use the european characterset because I'm targetting EU and east european referrals for my english pages:
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />

(In practice the pages will look identical most of the time, but they rank better in google.ro, for example, even though my pages are in english and I'm using a US server.)

You shouldn't/can't use any special character codes in your CSS and javascript functions, and they are best left as a-z A-Z 0-9 to avoid any problems.

For your javascript and html text you should use only ASCII characters too... if you need to make "Ü" or an "&" you should use the "escape characters":

ie &uml; and &amp; to be sure that they will display the same in all character sets.

eg <h1>Bed &amp; Breakfast </h1>

- but even that's not always necessary - just good practice

So short answer.... bash in your text, let the browser sort out the display... don't lose any sleep over it...

Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
  #6  
Old 05-16-2005, 12:20 AM
cyberdread cyberdread is offline
SEO Junior
 
Join Date: May 2005
Posts: 6 cyberdread is on a distinguished road
ill have to do some research on the subject, This is all entierly new to me.
Is ther anything else thats standerd for web development? any other standerd publishing needs?
Reply With Quote
  #7  
Old 05-16-2005, 07:26 AM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111 Paz has a spectacular aura aboutPaz has a spectacular aura about
Quote:
Originally Posted by cyberdread
ill have to do some research on the subject, This is all entierly new to me.
Is ther anything else thats standerd for web development? any other standerd publishing needs?
Hmmmm... a spelling checker maybe....

But seriously, you should install another browser other than IE to look for problems with your layout. I would recommend Firefox... Sometimes generated pages look completely messed up in other browsers....


Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.

Last edited by Paz : 05-16-2005 at 07:58 AM.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 08:56 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.