Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 29th, 2007, 7:22 PM   #1
armend90
Newbie
 
Join Date: Feb 2007
Posts: 6
Rep Power: 0 armend90 is on a distinguished road
help

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


where to fix this thnx
armend90 is offline   Reply With Quote
Old Dec 29th, 2007, 7:27 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,886
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
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.
Sane is offline   Reply With Quote
Old Dec 29th, 2007, 7:42 PM   #3
armend90
Newbie
 
Join Date: Feb 2007
Posts: 6
Rep Power: 0 armend90 is on a distinguished road
Re: help

no bro i avaliable have this fucking prob
armend90 is offline   Reply With Quote
Old Dec 29th, 2007, 7:45 PM   #4
armend90
Newbie
 
Join Date: Feb 2007
Posts: 6
Rep Power: 0 armend90 is on a distinguished road
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
armend90 is offline   Reply With Quote
Old Dec 29th, 2007, 8:22 PM   #5
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,886
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
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>
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:52 AM.

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