Modify to get the encoded offset in UTF8