While modifying my internationalized application so that it not only
supports multiple languages, but tries its best to display Turkish,
Greek and English nicely on the same page, I ended up using UTF-8 as my
default encoding. It makes the languages work nicely together, but it
ruins other aspects of localization.
Since "switching languages" no longer switches encodings for the page
(e.g. changing to "Greek" does NOT change the encoding for the page
from UTF-8 to ISO-8859-7), the only real effect it has is on date and
currency formatting. Unfortunately, while my input text displays
beautifully in Greek, the Linux (Red Hat) Greek localization file (or
whatever its nomenclature) at /usr/share/i18n/locales/el_GR seems to
specify ISO-8859-7 as the charset, so my dates aren't displaying
correctly in UTF-8.
D'oh! Silly me...I just discovered that there's a folder for
"el_GR.utf8". Specifying that seems to do the trick! How easy that was!
Apologies for dragging you through my discovery process, but I figure
this might be worth sending anyway, to preempt any future travelers in
my fool's footsteps.
Cheers,
spud.
-------------------------------------------------------------------
a.h.s. boy
spud(at)nothingness.org "as yes is to if,love is to yes"
http://www.nothingness.org/
-------------------------------------------------------------------
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php