MDL-45432 mod_assign Declare character encoding in onlinetext export

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>