encoding for test parser