Re: problem with greek language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux