injectdata: fix encoding for \