[ruby on rails]计算中英文混合字符串长度

NoSuchKey