Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
$ telnet localhost 80 Cheba wrote: That's what I've try to tell You... And figure ot for myself. BTW, How did You get the headers? Marek Kilimajer wrote: No, I copypasted as it is, only chaged the charset. But if I comment it out I get garbage. Now that I checked the headers apache sends I see

Re: [PHP] Page encoding

2003-10-25 Thread Cheba
That's what I've try to tell You... And figure ot for myself. BTW, How did You get the headers? Marek Kilimajer wrote: No, I copypasted as it is, only chaged the charset. But if I comment it out I get garbage. Now that I checked the headers apache sends I see why it it's so: HTTP/1.1 200 OK Date

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
No, I copypasted as it is, only chaged the charset. But if I comment it out I get garbage. Now that I checked the headers apache sends I see why it it's so: HTTP/1.1 200 OK Date: Sat, 25 Oct 2003 23:21:58 GMT Server: Apache-AdvancedExtranetServer/1.3.28 (Mandrake Linux/3mdk) PHP/4.3.3 X-Powered-B

Re: [PHP] Page encoding

2003-10-25 Thread Cheba
Have You commented out Header() function? Marek Kilimajer wrote: Please reply to the list, your chance of getting answer will increase. Use reply all button if Netscape/7.02 has it. I tried you example, except that my editor saved the page in unicode, so I had to change windows-1251 to utf-8.

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
Please reply to the list, your chance of getting answer will increase. Use reply all button if Netscape/7.02 has it. I tried you example, except that my editor saved the page in unicode, so I had to change windows-1251 to utf-8. Then it displayed correctly. Cheba wrote: Ok. Try Yourself. Hea

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
That was the first mistake I noticed, now I see it was completely wrong, it should be: Cheba wrote: It does'nt work. Marek Kilimajer wrote: Try ;) Cheba wrote: Hi! I have to use windows-1251 encoding for my pages. But just inserting is not enough. What shold I do? -- PHP General Mail

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
Try ;) Cheba wrote: Hi! I have to use windows-1251 encoding for my pages. But just inserting is not enough. What shold I do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Page encoding

2003-10-25 Thread David Otton
On Sat, 25 Oct 2003 23:19:33 +0300, you wrote: >I have to use windows-1251 encoding for my pages. But just inserting > is >not enough. What shold I do? Meta tags are generally substitutes for headers. Declare the content-type with a header() statement. Oh, and you have a typo in "enncoding". (

[PHP] Page encoding

2003-10-25 Thread Cheba
Hi! I have to use windows-1251 encoding for my pages. But just inserting is not enough. What shold I do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php