The ENCODING_UTF_16 and friend are a misnomer. Its actually used to determine whether or not to use double byte or single byte (aka "compressed unicode") characters. Should be CHARACTERSET_16 and CHARACTERSET_8 I suppose (alternatives welcome)
wont' do for 2.0 but will do for 3.0
Now deprecated in 3.2 series. which is still in svn Jason