added encoding docs