Simple clear advice in plain English

Hands on: Foreign characters

Dealing with letters that have accents and diacritical marks in assorted languages

My first instinct is to say, “Stick it all in a proper database.” MySQL can take the data and foreign characters, and PHP can manage the translations to and from HTML entities.

But what about the searching? There are ‘soundex’ functions in both PHP and MySQL that will help with finding words that sound similar, but tools such as that tend to be based on English pronunciation. So, if any readers have a solution, I’d love to hear from you. How can you ensure that all the people in Zurich can be found, however the search term is spelt? And how would you deal with spellings as different as Cologne and Köln?

For all articles on web development click on the tag below

Reader Comments

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

Apple iPhone 4S

Smartphones: the pick of the apps

Are you thinking about updating to a smartphone? We list 10 benefits that could make your life easier and might make you dig deep into your pocket and get one

Security shield illustration

How to use the Command Prompt

Lurking under Windows is the little-known world of the command line. We explain how to use this to fix faults and make your PC much more secure

Blog illustration

Create a Wordpress blog

Blogs are a great way to share news and opinions online. In the first article in our two-part series, we show you how to set one up and update it

Question & Answer

Q.Why are some of the keys on my keyboard doing strange...

> Read the answer

Q.Is my phone’s Bluetooth any use?

> Read the answer

Q.Can I switch boot drives so that I can work on older...

> Read the answer

Best deals on the web

img

Samsung RV520-A07

£359.98- Buy it now

img

Acer Aspire 5750G (LX.RXP02.019)

£399.99- Buy it now

img

Apple MacBook Pro (MD313B/A)

£904.37- Buy it now

Latest issue & subscription deals

Poll

Are you concerned about viruses that target mobile phones?

Jargon Buster

Computing terms explained in plain English

Restore point

A Windows backup of system files and settings.

Great shopping deals from Computeractive