Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13302: revert utf8 fixes
not required as CGI is fixing them on their side
  • Loading branch information
MichaelDaum committed Mar 26, 2015
1 parent 8b20e71 commit 92f744d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/Foswiki/Plugins/FlexFormPlugin/RenderForEdit.pm
Expand Up @@ -220,7 +220,6 @@ sub handle {
$field = $fieldClone;
}
$this->translateField($field, $theForm, $theWeb);
$this->translateField($field, $theWeb, $theForm, $theWeb);

#$this->writeDebug("reading fieldName=$fieldName");

Expand Down Expand Up @@ -277,12 +276,6 @@ sub handle {
}
$fieldEdit = $field->renderHidden($topicObj);
} else {

# we need to decode values since CGI-4.11 but only if the field doesn't do that on its own
if ($CGI::VERSION >= 4.11 && !$field->can("decode")) {
$fieldValue = Encode::decode($Foswiki::cfg{Site}{CharSet}, $fieldValue);
}

if ($Foswiki::Plugins::VERSION > 2.0) {
($fieldExtra, $fieldEdit) = $field->renderForEdit($topicObj, $fieldValue);
} else {
Expand Down

0 comments on commit 92f744d

Please sign in to comment.