added edit control for sample file encoding