spec: add script-encoding