[WEBINAR] Embedded Analytics for Today's Information Workers

Hexadecimal To Character (X2C)

Definition - What does Hexadecimal To Character (X2C) mean?

Hexadecimal to character (X2C) is a conversion of values from hexadecimal to an equivalent character value or string usually encoded in ASCII.

It is not exactly a conversion from a hex value to a character or string value, but it is more like the hexadecimal value represents or is the actual hexadecimal representation of a specific ASCII character.
An ASCII character has a representation in Hexadecimal, decimal and octal which are the same values as it is represented in the corresponding number system.

Techopedia explains Hexadecimal To Character (X2C)

Hexadecimal to character is not actual conversion, but simple representation of the corresponding character.

This is because a computer can only understand numbers, so characters have to be represented as numbers, and in turn numbers can be converted into other representations in other number systems.

For example the decimal code for the ASCII character % is 37, so its equivalent hexadecimal value is 25 and its octal value is 045.

An ASCII character is represented by two hexadecimal values, so when we say to convert the hexadecimal value 48 45 4c 4c 4f to character or string, we get HELLO.

Share this: