Jump to content

inverted commas


Woodburn2006

Recommended Posts

similar to nl2br() is there any way of going through a block of text and making it make the inverted commas visible, as i have this text taken from a DB and it has a load of question marks where there should be an inverted comma. also, is there a way to make a new line create a bullet point similar to how nl2br() creates a break?

 

this is the page im working on: http://www.ontherocks.me.uk/index2.php?go=gear&member=ben

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/155362-inverted-commas/
Share on other sites

check your encoding.  Usually when you get the checkmark with a black background or any other strange symbols it's because your encoding is wrong somewhere along the lines. Either when putting it in your database, pulling it out or displaying it.

 

check your headers for this line or something close

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

if you don't have this line add it inside your head tags. If you do modify the charset to utf-8    if it's already utf-8 try iso8859-1

 

Link to comment
https://forums.phpfreaks.com/topic/155362-inverted-commas/#findComment-817378
Share on other sites

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.