function fixFormEncoding() {
  for (var i=0; i<document.forms.length; i++) {
    document.forms[i].acceptCharset = 'utf-8';
  }
}
