Hello All,
Is it possible to use other language other than english in an input box. I mean to say can we make an input box to accpet a chinesee character.Normally if we type a charater an input box will display that charcter in english(eg.a,b,c,e).But what if we have to enter a chinesee character?
This question is not directly related with php. Since i am developing application in php i am posting it here. Any url,comments,references are greatly welcomed and appreciated.
Thank You.
Input box problem
Moderator: General Moderators
How can we enable it under windows?
thanx for your quick respond. But i am wondering how can i enable it under windows?
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
Here is the problem i couldn't solve..
I want to develop and php application which should support multilanguage like phpmyadmin. I found that Phpmyadmin is using language files to use multilanguage.But i want to enable multilanguage from database..Since i know english language only, i cannot add all languages... So my application would enable user to input their appropriate language and it will store it on database.while displaying it will use that character..
eg.
Home :
Contact Us :
About Us:
here instead of "home" user should type home in their languae. If user is chinese he/she should able to enter the "home" in chinese character.....in an input box.
Do i have to make any special setting in databas too?
thanx
I want to develop and php application which should support multilanguage like phpmyadmin. I found that Phpmyadmin is using language files to use multilanguage.But i want to enable multilanguage from database..Since i know english language only, i cannot add all languages... So my application would enable user to input their appropriate language and it will store it on database.while displaying it will use that character..
eg.
Home :
Contact Us :
About Us:
here instead of "home" user should type home in their languae. If user is chinese he/she should able to enter the "home" in chinese character.....in an input box.
Do i have to make any special setting in databas too?
thanx
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
As long as your pages are set to use UTF-8 or any of the other similar encodings many things will work on their own (they'll show in whatever language they were written in.) Setting the database to use UTF-8 helps too, but sometimes isn't required. Using language files instead of storing it in a database is often done. The information is fairly static once it's been translated so the added database hit is often seen as an unnecessary overhead.