get charCode