def char_rep_to_code(char_rep):
    return int(char_rep, 16)
Converts a character representation in hex to its code.
dataset/ETHPy150Open googlei18n/nototools/nototools/generate_sample_text.py/char_rep_to_code