Adding conversion from sage characters.

This is ugly, and possibly prone to breaking. Maybe it is already
broken.