When I write html-pages, I declare the encoding as ISO8859-1 this way:
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
I want to save the html-file with this encoding, but it is not available. From what I know, the ANSI encoding is different from the ISO8859-1, so what is the proper encoding for saving my html-files in TextPad?
Also, is the "Unicode" encoding the same as UTF-16?
Kind regards,
Rasmus Bruun, Denmark
Questions regarding encoding
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Andreas
Re: Questions regarding encoding
Unicode is not an encoding, it is a character set.
UTF-8/UTF-16/UTF-32/... are different ways to encode this character set.
ANSI is a superset of iso-8859-1, all characters in the iso-8859-1 set are present in the ANSI set (but NOT vice-versa).
Just do not use characters with codes from 128 to 159 and ANSI and iso-8859-1 are identical.
UTF-8/UTF-16/UTF-32/... are different ways to encode this character set.
ANSI is a superset of iso-8859-1, all characters in the iso-8859-1 set are present in the ANSI set (but NOT vice-versa).
Just do not use characters with codes from 128 to 159 and ANSI and iso-8859-1 are identical.