bug 28, better mapping for forbidden characters