LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Need PHP function to convert from Irish fada characters to plain ascii equivs

[ILUG] Need PHP function to convert from Irish fada characters to plain ascii equivs

Gavin McCullagh gmccullagh at gmail.com
Tue May 2 13:42:54 IST 2006


On Tue, 02 May 2006, Colm MacCárthaigh wrote:

> Mis-spelling people's names intentionally is a stupid idea. Why not fix
> whatever it is that cannot handle the perfectly valid character
> encodings?

It sort of depends what you're doing.  At one point some time ago, I was
asked to set up a database search so that people would get all results
regardless of fadas, eg so that:  

	"O Donaill" would match "Ó Dónaill"

One way was to index everything with the fadas stripped out and then strip
them from the search string too.  Then they get the above matches (not to
mention the reverse).  I didn't feel it was ideal, but it did what they
wanted.

Gavin




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell