[Truffle] - String#clear should preserve the string encoding.