code: public void writeUnmodifiedUTF (String str)
          throws IOException
      {
          // byte[] bytes = str.getBytes(Charsets.UTF_8); // TODO Java 6 (Charsets is from guava)
          byte[] bytes = str.getBytes("UTF-8");
          writeShort(bytes.length);
          write(bytes);
      }
docs: Write a string encoded as real UTF-8 (rather than the modified format handled by
  {link #writeUTF}).