View Single Post
Old 01-14-2013, 04:08 AM   PM User | #6
fail
Regular Coder

 
Join Date: Dec 2009
Location: Hong Kong
Posts: 118
Thanks: 8
Thanked 0 Times in 0 Posts
fail is an unknown quantity at this point
Solved! This REALLY took me some time!

I tried to work it via mySQL and noted that whatever I try, data gets input as i.e. solglasögon.net instead of solglasögon.net

I then did a try and put this before the string:

PHP Code:
$value str_replace("ö","ö",$value);  // except the amp; 
and it worked according plan!

Not to do a str_replace() for every special character I did:

PHP Code:
$value html_entity_decode($valueENT_COMPAT"UTF-8"); 

Last edited by fail; 01-14-2013 at 04:19 AM..
fail is offline   Reply With Quote