MySQL Forums :: Newbie :: Searching database for strings with Swedish characters


Advanced Search

Searching database for strings with Swedish characters
Posted by: Paul Johnson ()
Date: December 08, 2013 08:43AM

I use web-based genealogy software (TNG) that employs MySQL. I have many Swedish names in my family tree and there are many occurrences of Swedish-specific characters (ä, ö, å). I've tried to set up the MySQL database so the character encoding is UTF-8 with utf8_swedish_ci collation sequence. Nonetheless, my searches for some known strings fail. An example is to try to find occurrences of the string <ällstad C> (without the angle brackets) by entering it in the search field at http://askerko.net/genealogy/browsemedia.php. The search doesn't find any matches, but if I modify the search by dropping the leading ä, i.e. <llstad C>, I find 2 records, both of which do contain the string <ällstad C>.

If someone can suggest an explanation and solution to this problem I would greatly appreciate a reply.



Edited 2 time(s). Last edit at 12/08/2013 05:34PM by Paul Johnson.

Options: ReplyQuote


Subject Written By Posted
Searching database for strings with Swedish characters Paul Johnson 12/08/2013 08:43AM
Re: Searching database for strings with Swedish characters Rick James 12/10/2013 01:42AM
Re: Searching database for strings with Swedish characters Paul Johnson 12/10/2013 05:13PM
Re: Searching database for strings with Swedish characters Rick James 12/12/2013 04:11PM
Re: Searching database for strings with Swedish characters Barry Galbraith 12/12/2013 05:48PM
Re: Searching database for strings with Swedish characters Paul Johnson 12/12/2013 06:18PM
Re: Searching database for strings with Swedish characters Barry Galbraith 12/12/2013 06:55PM
Re: Searching database for strings with Swedish characters Paul Johnson 12/12/2013 07:22PM
Re: Searching database for strings with Swedish characters Paul Johnson 12/13/2013 11:09PM
Re: Searching database for strings with Swedish characters Barry Galbraith 12/14/2013 04:43AM
Re: Searching database for strings with Swedish characters Rick James 12/14/2013 12:23PM
Re: Searching database for strings with Swedish characters Paul Johnson 12/14/2013 12:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.