quick hack to scrub out bogus chars that break during regex comparison of improperly encoded char strings