alex for char encoding filter