Encoding unicode code points to utf8 and decoding utf8 to unicode code points.