Viewing 1 replies (of 1 total)
  • Thread Starter Mads Phikamphon

    (@madsphi)

    Still no idea why it do the above, but now I have at least found a solution.

    All the relevant texts from the database are send through the method below and then everything looks fine.

    function ConvertDanishCharacters($string)
    {
    	 $string = str_replace("?", "&#230", $string);
    	 $string = str_replace("?", "&#198", $string);
    	 $string = str_replace("?", "&#248", $string);
    	 $string = str_replace("?", "&#216", $string);
    	 $string = str_replace("?", "&#229", $string);
    	 $string = str_replace("?", "&#197", $string); 
    
    	return $string;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Unicode/Western character encoding’ is closed to new replies.