/    Sign up×
Community /Pin to ProfileBookmark

Need Help with Save Format

I want to convert some old html pages to xhtml transitional. These are simple static pages and I’ve figured out how to do all parts of the conversion except for one problem. Here it is:

The instructions say to use a document type definition that specifies utf-8. So when I save the code in NotePad, I thought I should choose utf-8 as the format. But when I try to validate a page at [url]http://validator.w3.org[/url], it validates as xhtml transitional okay, but I also get a warning message about something called a byte order mark (BOM).

I did some searching and found an article that says that NotePad automatically inserts this BOM in all saved documents. But the warning at [url]http://validator.w3.org[/url] says that it might cause problems. Right now I’m having to use a rented computer and don’t have any other editors except NotePad. So there’s my problem.

I did some experimenting and found that if I save a page as ANSI instead of utf-8, it passes validation without this warning about a BOM.

So does anyone know what format I should use to save these pages before I upload them? Can I use ANSI? Or am I suppose to use utf-8, even though I get this warning?

Thank you

to post a comment
HTML

1 Comments(s)

×

Success!

Help @billybw spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...