Y
Yohan N. Leder
You can convert between ISO-8859-15 and UTF8, too.
What's the advantage rather than to just use ISO-8859-15 everywhere ?
You can convert between ISO-8859-15 and UTF8, too.
I can't really recommend one or the other. I prefer vendor-independend
standards and I'm a Unix guy, so I would generally prefer iso-8859-15.
OTOH, you probably have more Windows than Unix users, and the Unix users
are probably more able to work around charset issues, so windows-1252
will probably be less trouble to support.
Quoth Yohan N. Leder said:And, knowing the only difference between ISO-8859-1 and ISO-8859-15 is
the euro sign (from what I've understood), why not continue to use ISO-
8859-1 and manage to translate any euro sign to its HTML entity (&euro
The main concern about input, in this case, is to know when to convert
this euro sign : before submission (maybe using javascript)
Yeuch!
or at STDIN
parsing time. The second one requiring that STDIN be not corrupted by
the presence of this outside-charset char
Quoth Yohan N. Leder said:What's the advantage rather than to just use ISO-8859-15 everywhere ?
Yohan said:And, knowing the only difference between ISO-8859-1 and ISO-8859-15 is
the euro sign (from what I've understood)
Yohan said:What you say
here is that PHP can *include* a Perl script ?
You're wrong there, there's more than one difference in the
conversion table
Column 1 is the local, single byte character value, column 2 is
Unicode, which is identical to Latin-1 for characters with code
under 256.