Refactor syntax unicode filter