- # 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);
+ my $content=$form->field('editcontent');
+ my $comments=$form->field('comments');
+ $form->field(name => "editcontent",
+ value => $content, force => 1);
+ $form->field(name => "comments",
+ value => $comments, force => 1);
+ $config{rss}=0; # avoid preview writing an rss feed!