set the proper contentType, so that 2-byte characters don't get messed up onLoad