Hi Rosen,

either use ISO-8859-7 for the encoding or UTF-8. If you use ISO-8859-7 your 
site will not need any modifications (either than replacing the "&tau, ..., 
etc" symbols with the actual characters). If you use UTF-8 you will of course 
have to modify your strings to make them UTF-8 compatible.

Please, take into account that using the "τ&eta, ..., etc" symbols is 
*not* guaranteed to work for users visiting your site from Greece. No matter 
what the standards say, there are problems. Trust me. I live in Greece :-)

-Stathis

On Tuesday 04 April 2006 15:39, Rosen wrote:
> Hi,
> I have one very big problem: I create website with english and greek
> language. I use "iso-8859-1" encoding for my website.
> I show the greek language text with encoded chars like
> "τηλεόρα&si;" -  I copy/paste this
> from Openoffice documents.
> On the website I have no problems - everything shows ok, but when I pass
> this greek encoded string to javascript - i.e. "alert('τη');" the
> browser doesn't decode the greek symbols and the alert shows me the same
>
> :"τη"
>
> Have someone some idea how to solve this problem ?
>
> Thanks in advance,
> Rosen

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to