Click to See Complete Forum and Search --> : Charset encoding


purpleski
07-08-2003, 06:58 AM
What character set encoding should I use and what difference does it make?

Dreamweaver defaults to iso-8859-1

and CSE HTML editor recommends charset=us-ascii

Thanks.

Lotus
07-08-2003, 07:02 AM
Use iso-8859-1. I've experienced some problems like corrupt letters with the other one.

Charles
07-08-2003, 07:13 AM
You need to declair the character set that your editor is using. Generally speaking, in the US of A if you are using the characters on your keeyboard then you should use "iso-8859-1" or "utf-8", the second being a super set of the first which is, in turn, a super set of "us-ascii". The problem arises with Windows which uses Bill's own special character encoding for things that aren't on the keyboard. For those, just stick to the entities.

purpleski
07-08-2003, 12:34 PM
Thanks for the reply.

I am in the United Kingdom does this make any difference?

nkaisare
07-08-2003, 12:45 PM
Originally posted by purpleski
I am in the United Kingdom does this make any difference?
No, not really.

May be you want to use <html lang="en-uk"> to indicate that the language is UK English (as opposed to en-us).

blufive
07-08-2003, 02:19 PM
I am in the United Kingdom does this make any difference?If your editor is using a different character set from the one set in the document, users could miss out on things things like pound signs ("&pound;"), particularly if their browser is set to a different character set by default (though you could get around this by using the &amp;pound; entity instead)

ISO-8859-1 should do the trick for you; in this case, Dreamweaver knows what it's doing.

David Harrison
07-08-2003, 04:05 PM
I was wondering what the general opinion on windows-1252 which I thought was the windows default. As it wasn't mentioned above, am I to assume that nobody uses this or that it just didn't come up?