#194652 by Heine: specify explicit accept-charset for forms to avoid browser guessing
parent
720e149023
commit
67f7687c31
|
@ -1430,7 +1430,7 @@ function theme_textfield($element) {
|
|||
function theme_form($element) {
|
||||
// Anonymous div to satisfy XHTML compliance.
|
||||
$action = $element['#action'] ? 'action="' . check_url($element['#action']) . '" ' : '';
|
||||
return '<form '. $action . ' method="'. $element['#method'] .'" '. 'id="'. $element['#id'] .'"'. drupal_attributes($element['#attributes']) .">\n<div>". $element['#children'] ."\n</div></form>\n";
|
||||
return '<form '. $action .' accept-charset="UTF-8" method="'. $element['#method'] .'" '. 'id="'. $element['#id'] .'"'. drupal_attributes($element['#attributes']) .">\n<div>". $element['#children'] ."\n</div></form>\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue