Support encoding option