2.2 Character convertion routines