Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   PHP (http://www.programmingforums.org/forum29.html)
-   -   help (http://www.programmingforums.org/showthread.php?t=14831)

armend90 Dec 29th, 2007 8:22 PM

help
 
can anyone help me in this
i transfer my site in new server but all ë char replace me at <<

http://rsizr.imageshack.net/?http%3A...1%2Ffixbj7.jpg
where to fix this thnx

Sane Dec 29th, 2007 8:27 PM

Re: help
 
The picture you posted is very glitchy and it's difficult to see what's going on, but it sounds like an issue of character encoding.

The HTML can specify character encoding to override the default provided by the server. Your HTML must be invalid, and was not specifying a character set. The client browser then uses the default provided by the server, which happened to be different between your two servers.

Try adding/changing the character content type to:
:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

To the <head></head> tags of your HTML markup. Tell me if that helps.

armend90 Dec 29th, 2007 8:42 PM

Re: help
 
no bro i avaliable have this fucking prob

armend90 Dec 29th, 2007 8:45 PM

Re: help
 
where to put this <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> in my index.php i cant because say PROB
Parse error: syntax error, unexpected '<' in /home/kosovane/public_html/httpdocs/index.php on line 2

Sane Dec 29th, 2007 9:22 PM

Re: help
 
The code I posted is HTML. Not PHP.

You will need to place this where the <head></head> tags are placed.

Look for code like is in your HTML/template/PHP.
<title>The Title That Appears At The Top Of The Window</title>

And if you don't see a content-type near that code in the "head" block, then add the content-type tag to the head code. If you do see one, change the charset to "UTF-8".
:

<head>

    ... some code will be here ...

<title>The Title Of My Web Page</title>

    ... some more code will be here ...

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    ... some more code will be here ...

</head>



All times are GMT -5. The time now is 3:52 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC