View Single Post
  #23 (permalink)  
Old 01-08-2008, 04:13 AM
beatniak's Avatar
beatniak beatniak is offline
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Resolved the weird characters on goboz by adding these 2 lines AS THE FIRST ONES in the remove_error_creating_characters function:
Code:
function remove_error_creating_chars($chars) { 
    $replace=array( 
    '—' => '--', // Steef2k8-01 - remove really weird characters
  '’' => '\'', // Steef2k8-01 - remove really weird characters  
I said as the first 2 lines of all the replaces, because below it some characters from these strings are getting replaced, so the function won't find — and ’ anymore.
i.e.:
Code:
    'â' => 'a',
__________________
Like my work? Donations are welcome if you would like to support my work!
Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com

Last edited by beatniak; 01-08-2008 at 04:18 AM..
Reply With Quote
The Following 2 Users Say Thank You to beatniak For This Useful Post: