Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.