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