Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search in 4 languages

Status
Not open for further replies.

svagelis

Programmer
May 2, 2001
121
GR
My search form is looking in a database that contains data in 4 different languages.
English, Spain, Greek, Portuguese.

I want to be able to write my criteria either in Spanish or Greek etc.

The problem is that the form posts data according to charset defined in META TAGS.
I mean that you have to specify form page's charset in order to post data corectly.

But user should be able to change keyboard language and look in the db according to it.

Any solutions ?

Thanks in Advance ...
 
Make 4 pages that have different charset and same html code and that you'll call depending on the language wanted. Water is not bad as soon as it stays out human body ;-)
 
no so good

i could do something more clever, making a button about language selection and depending on that store on a session var the current language and reload the same page with different charset... but i would like to avoid that too

thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top