trying to figure out character encoding issue