removed unncessary call to toupper in HexDecodeChar