Resolve encoded string with resolveContent