Fix four hex digit encoding.