connectting to db is ok, but charset or encoding has problem