You enter UTF-8 in Unicode.
0x00FC is the Unicode code point for ü:
mysql> select char(0x00FC using ucs2); +----------------------+ | char(0x00FC using ucs2) | +----------------------+ | ü | +----------------------+
In UTF-8 encoding, 0x00FC is represented by two bytes :
mysql> select char(0xC3BC using utf8); +-------------------------+ | char(0xC3BC using utf8) | +-------------------------+ | ü | +-------------------------+
UTF-8 is just a character encoding method Unicode in binary form. It is designed to make efficient use of space, so ASCII characters only accept one byte, and iso-8859-1 characters, such as ü, only accept two bytes. Some other characters take three or four bytes, but they are much less common.
source share