When importing an Excel generated CSV file with PHP there are a few non-readable characters being returned.
I’ve tried a number of things to correct it.
I tried converting the character encoding with mb_convert_encoding(). That changed the non-printing characters to other non-printing characters.
I’ve also been trying to identify the non-printing characters ASCII values.
This script below does a good job of getting most of it, but it misses a dash.
http://www.unexpectedit.com/php/php-clean-string-of-utf8-chars-convert-to-similar-ascii-char
Any thoughts on how to convert the remaining ‘character’?
Thank you E