Modify character code