handle non standard characters