Refactor syntax unicode text stream