fix

Fixed a bug in the character code.