Calculating length in UTF-8 of Java String without actually encoding it

后端 未结 4 842
你的背包
你的背包 2020-12-03 04:45

Does anyone know if the standard Java library (any version) provides a means of calculating the length of the binary encoding of a string (specifically UTF-8 in this case) w

4条回答
提交回复
热议问题