My encoding filter