Restrict xXX to ascii

Fix #312