[backport 4.x] Prohibit char codes that would overflow the BASE_MAP
#89
+19
−3
BASE_MAP
#89