یہ ڈیٹابیس پر منحصر ہے۔ اگر آپ مائیایسقیوایل استعمال کر رہے ہوں تو اس کا character set کو utf8 پر سیٹ کریں اور اپنی ایپلیکیشن سے کنکشن قائم کرتے ہوئے یہ ایسقیوایل کمانڈ بھیجیں:
ًبہت بہت شکریا ۔۔۔
If Database contains english and urdu fields together, should I set Set Names UTF8
A JSP page will contain english and urdu field together, how do I use internationalization in Struts... or any other solution. Its a web based email application like Hotmail.
Please help.
-----------
I am starting a web based Urdu application which supports English as well. Before I ask question let me explain my tools and technologies.
Tools:
Its a java based application... using J2EE, Hybernate, Struts framework.
Question: Does struts support internationalization, if no, then what is the best approach to create one JSP page which can support both english and urdu.
There is a database involved:
There are couple of input screens presented to User to enter his/her information. An input screen can be a mixture of english and urdu fields. For example the following form:
Field1: User will type in English
Field2: User will type in English
Field3: User will type in Urdu
When input is submitted to application/web server it goes to servlet, and servlet then call the hybernate to store into database.
Question: Do you suggest any specific database to be used which is easy and good in my case?
Question: What datatype should be in DB for urdu fields?
Question: How to write and read urdu fields?
Question: Can we combine urdu/english in same table?
Question: When read urdu fields, how do we render with HTML fields?
Please help me out... your help will be really appreciated... Since it is just started you can comment on tools and technologies which I have picked. If you want, you can suggest something else