For linechars, currently 47 and 48 have the same state which shouldn't be the case AFAIK. (cherry picked from commit 30023209)