Added --encoding to specify string encoding for literals