+ # Apparently FormBuilder doesn't not treat input as
+ # utf-8, so decode from it.
+ require Encode;
+ my $content = Encode::decode_utf8($form->field('editcontent'));
+ $form->field(name => "editcontent",
+ value => $content, force => 1);
+ $form->field(name => "comments",
+ value => Encode::decode_utf8($form->field('comments')), force => 1);