php tidy none break space
===

I have an html with some special html chars like `&nbsp;` ... but tidy make `�` for this character as space.

    // tidy config
    $tidyConfig = array(
    	'indent' => true,
    	'output-xhtml' => true,
    	'input-encoding' => 'utf8',
    	'output-encoding' => 'utf8',
    	'show-body-only' => true,
    	'fix-backslash' => true,
    	'quote-marks' => true,
    	'wrap' => 1024,
    );
    
    // tidy up
    $string = (string)tidy_parse_string($string, $tidyConfig);

what's option must be set or change.