Refactor syntax unicode io