Thanks for your swift responses, all. The validator gives me an unconditional pass after putting in Kevin's properly-formed tag: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Notepad++ was really nice, but I suspected it was being a bit silly. On a Mac I'd use BBEdit (loved that) but PCs seem to be short on really head-above-the-crowd open source code editors. Nikita, that's worth knowing... And yes it is ending up US-ASCII, but I'd just like to be sure I'm sticking to the lowest common denominator... Regards, Barney On 7/10/08, Nikita The Spider The Spider <[EMAIL PROTECTED]> wrote: > > On Thu, Jul 10, 2008 at 8:27 AM, Barney Carroll > <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > I've got a problem with character set encoding I'd like to rectify. I use > > UTF-8 as a matter of convenience and ideology, and don't believe it > should > > be that much of a problem. My editor (Notepad++) is set to create new > files > > in UTF-8 without a byte order mark, but when I retrieve files from my > server > > it tells me that they're ANSI. > > > Does "ANSI" means US-ASCII? The most popular single-byte encodings > (ISO-8859-X, Win-1252) and UTF-8 are supersets of US-ASCII, so a > US-ASCII file is also valid UTF-8 (and ISO-8859-X and Win-1252) all at > the same time. It's pretty easy to write English-language pages that > are 100% pure US-ASCII, so this might be your situation. Notepad++ has > saved the file as UTF-8, but in this situation that doesn't look any > different from US-ASCII (i.e. "ANSI"). > > Here's an ASCII chart. There are a lot of things floating around out > there that claim to be "extended ASCII", "Microsoft ASCII", "Updated > ASCII", etc. None of them are official. ASCII ends at character 127, > end of story. > http://www.jimprice.com/jim-asc.shtml > > Here's a list of valid charset names: > http://www.iana.org/assignments/character-sets > > > > > I ran an automatic W3C validation of my markup just a second ago after > > making some edits and it warns me that no character set encoding was > > specified (even though the first tag in my heads is <meta > > name="content-type" content="text/html; charset=UTF-8">). > > > For us to figure out why that is, you'll need to share a URL with us. > > > > -- > Philip > http://NikitaTheSpider.com/ > Whole-site HTML validation, link checking and more > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > > ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
