Improved string shortening for CJK languages.