Given a String of length Integer.MAX_VALUE
which contains characters that require more than one byte to represent, such as Chinese ideograms, what result would I get if I executed String.getBytes()
? Is there any good way of testing for this type of error?
没有评论:
发表评论