Test plan:
Fill OPACMySummaryNote or NoLoginInstructions with something like "éàç"
and verify the display is broken.
Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
+use Encode qw( encode );
use base qw( Template::Plugin );
sub Preference {
my ( $self, $pref ) = @_;
- return C4::Context->preference( $pref );
+ return encode('UTF-8', C4::Context->preference( $pref ) );
}
1;