Hi,
I have some problems about Turkish characters in PHP pages. If I save them as HTML pages, they show these characaters in a normal view, but if I save them as PHP pages, I must save as PHP, these pages donot show these Turkish characters in a proper way, but if I choose the view option of the browser as Turkish(Windows), it gives truth pages.
I tried many types of the meta,but it colud not work.
NOTE: I use frames.
Turkish Character Problem in PHP pages :!:
Moderator: General Moderators
-
mustafamisir
- Forum Newbie
- Posts: 23
- Joined: Wed Jun 22, 2005 1:00 pm
- Contact:
Try putting this at the top of your script:
But replace "turkish" with whatever the right character set is. Alternatively, send everything in UTF-8.
Code: Select all
header("Content-type: text/html; charset=turkish");-
mustafamisir
- Forum Newbie
- Posts: 23
- Joined: Wed Jun 22, 2005 1:00 pm
- Contact:
I put
between <head> tags, but it didnot work ,too.
Code: Select all
<?php
header("e;Content-type: text/html; charset=windows-1254"e;);
?>Did I say to put it between the <head> tags? No. Put it at the top of the script.mustafamisir wrote:I putbetween <head> tags, but it didnot work ,too.Code: Select all
<?php header("e;Content-type: text/html; charset=windows-1254"e;); ?>