RE: [php_greek] greek chars not displayed in php4
- in fear to sound silly the charset=??? is only used for the browser to
autodetect the charset, if you mannually change the charset in the
browser you automatically disregard this value.
To Stelios: maybe it's a good idea to attach a sample of your page to
see if i get the same effect.
- yavor shahpasov wrote:
> in fear to sound silly the charset=??? is only used for the browser toNO! At least not always. Netscape 4.7x for Linux, for example,
> autodetect the charset, if you mannually change the charset in the
> browser you automatically disregard this value.
will use the character set indecated by the web page despite
your defaults... (Of course you can change the fonts, so that
it uses an iso-8859-7 font for the Western encoding etc.
yassou.net: be there before you go!
- I used Panayiot's suggestion (header, etc) and it
seems to work.
Question remains, why does it work or why is is a
problem in the first place ?
Under php3 I never had to do such a work around. Also,
I have not looked deep into php4 yet, but there is no
.ini file, at least not in my home SUSE 6.4 linux
system. I cannot imagine that I will be able to edit
the .ini of the provider ....:-)
Panayioti, thank you. Will let everyone know how it
goes as I dig deeper...
--- Panayotis Vryonis <vrypan@...> wrote:
> useful for .html pages. From PHP you can either edit
> (look for "charset"), or manually send the right
> header using
> header("Content-Type: text/html;
> (BEFORE SENDING ANY HTML!!!).
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail