modified utf-8 encoding