Killersites Community: Meta tags: Specifically, charset=iso-8859-1, what is that? - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Meta tags: Specifically, charset=iso-8859-1, what is that?

#1 User is offline   Eric 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 2,430
  • Joined: 19-December 08
  • LocationCarlsbad, CA

Posted 24 April 2009 - 08:25 PM

Hello, I'm cleaning up, and inserting meta tags now. Question though!


Currently, this charset is in all my pages. Remember, I didn't originally build this site. What is this, what is it used for, and should I replace it with the version below? Thanks!


I'm used to seeing this one.

This post has been edited by Eric: 24 April 2009 - 08:26 PM

0

#2 User is offline   Eddie 

  • PipPipPipPip
  • Group: Advanced Member
  • Posts: 3,524
  • Joined: 19-December 08
  • LocationTexas

Posted 24 April 2009 - 08:53 PM

Just google charset=iso-8859-1 and you will get a wealth of information. In short, it's an old Latin character set used mostly by windows. The search results will go in greater details about it.
0

#3 User is offline   Eric 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 2,430
  • Joined: 19-December 08
  • LocationCarlsbad, CA

Posted 24 April 2009 - 08:59 PM

I can always count on you Eddie to inform me of Google. I did Google it prior to posting, and I did not get a wealth of information. About all I found was what you mentioned - a latin thing. I was hoping one of you guys could save me the hunt.

This post has been edited by Eric: 24 April 2009 - 09:00 PM

0

#4 User is offline   jlhaslip 

  • PipPipPipPip
  • View blog
  • Group: Member
  • Posts: 530
  • Joined: 13-January 09
  • LocationGolden, BC

Posted 24 April 2009 - 09:57 PM

use UTF-8, as it allows greater scope and flexibility for other languages.
My signature goes here --> X
0

#5 User is offline   virtual 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 881
  • Joined: 29-December 08
  • LocationLa Jolla, California

Posted 24 April 2009 - 11:21 PM

If your web site is going to be viewed internationally you need to use UTF-8. It is able to represent any character in the Unicode standard, yet is backwards compatible with ASCII.
Lynne
180virtual
0

#6 User is offline   Eric 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 2,430
  • Joined: 19-December 08
  • LocationCarlsbad, CA

Posted 24 April 2009 - 11:40 PM

Thanks guys! So the 8859-1 one is only for English? UTF-8 it is then, I just like to make an informed decision.
0

#7 User is offline   Eddie 

  • PipPipPipPip
  • Group: Advanced Member
  • Posts: 3,524
  • Joined: 19-December 08
  • LocationTexas

Posted 25 April 2009 - 10:06 AM

Quote

Thanks guys! So the 8859-1 one is only for English? UTF-8 it is then, I just like to make an informed decision.

Incorrect. 8859-1 is also for various other languages such as French, German, Spanish and a host of others. That is why it's called Western European. It also includes regions like Australia, much of Africa and all of the Americas.

Quote

I can always count on you Eddie to inform me of Google.

:) Well, I wasn't trying to be smart-alec. I mean I sincerely thought you might have done so but sometimes you can't find the right answers because of the search query which is why I suggested googling charset=iso-8859-1.
0

#8 User is offline   LSW 

  • View blog
  • View gallery
  • Group: Moderators
  • Posts: 7,981
  • Joined: 20-December 08
  • LocationJuneau AK

Posted 15 May 2009 - 10:40 AM

You can delete it.

It is a common misunderstanding that that is needed, it is not.

That bit there tells the browser what character set to use right? But that is decided early on, when your browser makes the request to the server it tells the server what it wants and can handle. By the time the browser reads that code, the mimetype has already set the character set. Try it, remove it and nothing will change.

That bit of code hurts nothing, it allows the browser to know what character set to use when it is no connected to a server. Either doing testing or saved to the PC by the user. But if a server is used, it is decided long before the browser even sees that code, so you can leave it off if you like.
Thank You, Migwetth, Gunalche’esh, Ha’w'aa, Danke

Kyle


"90% of user's 'problems' can be resolved by punching them -the other 10% by switching off their PCs."




0

#9 User is offline   Wickham 

  • PipPipPipPip
  • View gallery
  • Group: Advanced Member
  • Posts: 1,731
  • Joined: 20-December 08
  • LocationSalisbury UK

Posted 15 May 2009 - 11:00 AM

It may make no difference to the browser but there's definitely a difference in the way validators check a page.

charset=iso-8859-1 allows £ and other unusual symbols but if you use the meta tag for utf-8 a validator will show and error for some of them and suggest that you use the full character code like £
0

#10 User is offline   Eric 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 2,430
  • Joined: 19-December 08
  • LocationCarlsbad, CA

Posted 15 May 2009 - 11:11 AM

OK thanks for info everybody! Looks I'll just keep it then. I just validated the whole site. Who knows what strange characters might be hanging around.
0

#11 User is offline   jlhaslip 

  • PipPipPipPip
  • View blog
  • Group: Member
  • Posts: 530
  • Joined: 13-January 09
  • LocationGolden, BC

Posted 15 May 2009 - 11:37 AM

Quote

Who knows what strange characters might be hanging around.

You talking about me again?

:lol:
My signature goes here --> X
0

#12 User is offline   LSW 

  • View blog
  • View gallery
  • Group: Moderators
  • Posts: 7,981
  • Joined: 20-December 08
  • LocationJuneau AK

Posted 15 May 2009 - 12:41 PM

Yes, validators fall into the category like pages saved to the desk top. They do not go over the server in the same form with MimeTypes as they are not displaying the site, just reading code.

Those issues will not happen on a server, so that code is not needed on the page, but does no harm either. You can tell the meta tag to use Mandarin Chinese... but if the MimeType is stating UTF-16 that is what is use dregardless of what you have in a meta tag after the decision is made.
Thank You, Migwetth, Gunalche’esh, Ha’w'aa, Danke

Kyle


"90% of user's 'problems' can be resolved by punching them -the other 10% by switching off their PCs."




0

#13 User is offline   MikeHardly 

  • View blog
  • Group: New Members
  • Posts: 2
  • Joined: 24-May 09

Posted 24 May 2009 - 12:57 AM

The best way is to define the document language on the html element rather than with a meta tag:



And to leave the content-type meta tag as before:



You should always ensure you define both the content language and the content-type (charset) on all pages.

[unnecessary spam link deleted]
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users