Add options for text encoding to sub commands
Add options for text encoding to sub commands