Unicode text performance improvements