Jump to content

Character Display Issue


spikypunker

Recommended Posts

hi guys, have been developing a website over the lkast few weeks, have had some help from this fourm a lot!

 

Here is is: http://www.maddogmagazine.co.uk

 

Ive just added a news section and the idea is our contributers add thier own stories in using a web form etc. The problem i'm having is that people are obviously cut and pasting from a Word document. For some reason this is bringing in wierd commas that look slightly different than normal!? These don't display in the browser, but instead a ? is put in in Firefox and a square is put in in IE. Has anyone encountered this before??

 

Heres the link to specific page: http://www.maddogmagazine.co.uk/musicnews.php

 

Cheers for any help guys! As i said before, people here have been a great help whilst developing the site so far, you rule!

 

Chris

 

Link to comment
https://forums.phpfreaks.com/topic/150729-character-display-issue/
Share on other sites

haha tell me about it!

 

ok i tried this:

 

$title = $_POST['title'];
$content = $_POST['content'];
$date = date("Y-m-d");

mb_convert_encoding($content, "ISO-8859-1", "auto")

 

And got this error:

 

  Quote
Parse error: syntax error, unexpected T_STRING in /home/maddogma/public_html/news/newswrite.php on line 19

 

 

lol???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.