Evil-Co/NBT-Lib — pull request #2 by mxE333xm (2014-04-16 10:30:10+00:00)
Title: Use the actual length of bytes written in NBTTag String

getBytes with a charset can modify the string when it encounters nonmappable characters.

This will result in NBT-Lib producing corrupt NBT Files when processing files generated by Mods which Minecraft reads and writes without problems.