Support non-ascii characters, layout