[Koha] Accents in Irish Gaelic

Peter Lorimer peter at oslo.ie
Tue Apr 19 20:10:03 NZST 2011


Hi 

I had a similar problem with Irish characters not displaying correctly.
It was down to browser default character encoding.

I overcome this by using the Perl 'Encode' module

# use Encode;

Where print $x was displaying Irish characters incorrectly, using

print encode('utf-8',$x); renders Irish characters correctly. So each
time a variable (string) is added to a template I use:

$template->param (
   	testData => encode('utf-8', $data),

                  );

-- 
Kind Regards

Peter Lorimer
Software Engineer
OSLO (Open Source ILS Systems)


-----Original Message-----
From: koha-request at lists.katipo.co.nz
Reply-to: koha at lists.katipo.co.nz
To: koha at lists.katipo.co.nz
Subject: Koha Digest, Vol 66, Issue 42
Date: Tue, 19 Apr 2011 07:11:04 +1200

Re: Accents in Irish Gaelic



More information about the Koha mailing list