Replacement for m_nationalchars [WIP]

I've had this sitting around on my HDD for a while, it replaces m_nationalchars.
Unpolished, but I've kinda forgotten what I was working on before putting it up here.

Might want a few eyes on it, and such.
This should range check j better so bad configs can't break stuff