The reason we use 3.3 is because it has extra 'stuff' in it to handle non-English character sets properly. It looks to me like the command ns_encodingforcharset is part of that, and there will be other things missing or not working right as well. You'll need to go back to 3.3 to make things work again. Or you could upgrade to 4.0, but I think there are still some questions about whether everything we need is working 100% in that version.