Assume that the site is still in it's design phases so there's no initial work to pick one over the other from the start.
1 Answer
With UTF-8 you have increased flexibility over ISO 8859-1. The former can encode any character included in Unicode while the latter is limited to Western European languages.
ISO 8859-1 ("Latin1") doesn't include, for example, Greek, Hebrew, Arabic, Cyrillic, Chinese, Japanese and Korean, etc.
-
Is the LS (line separator) character also supported in HTML or do I still have to use the classic \r\n kludge? Jul 13, 2010 at 4:59
-
1
-
@DisgruntledGoat I thought \n was specific to *nix platforms whereas \r is specific to Windows. Don't you need a combination of the two to make the code platform independent? Jul 13, 2010 at 12:24
-
2
-
1@Evan:
\n
is Linux/Unix,\r
is Mac,\r\n
is Windows. But you can use any of those for any platform's server as far as I know. I've never had any problems on Windows using just\n
. Jul 14, 2010 at 8:57