add encoding support