Wednesday, November 19, 2008

How to use Hindi fonts on Website

13 comments
Now in current world the importance of multi lingual websites has increased.
People demands for sites in different languages for different uses.

I have a site on which I have to show data in Hindi.
This had become a major issue while development.

I had searched the internet and found a solution named Microsoft WEFT.
I was very happy to find a solution. I start working on the basis of
this software. But after successful launch of website the use had found
an major issue. The .eot files are only supported on IE browsers.

Now, this is the time to work like a machine to search for a true solution.

I have searched many sites.

But, finally god give me the solution by giving me the concept of UNICODE fonts

Here is the example how to use UNICODE fonts.

use these sites to make entry in hindi

http://utopianvision.co.uk/hindi/write/
http://www.geocities.com/matthewblackwell/hindiEditor.html

You can make entry in hindi for ex.
on this http://utopianvision.co.uk/hindi/write/

in second text box enter
aam

bharat

mahaaraaNaa

these will get appear in the second box.

copy text and paste where ever you want. Unicode fonts are browser compatible.

If you want to insert UNICODE fonts into database, you have to take a UNICODE supported field i.e.
Nvarchar datatype don't use varchar datatype.


Please let me know if you want to know more about this.

13 comments:

deepika said...

how to use hindi fonts in our webpage..........i working with asp.net+C# i have to use hindi fonts....for bth at insertion time and at input time both!hw t o do it???

Hitendra said...

Thanks , I used given url and its working nice , but thing is that i would like to give option "VISIT SITE IN HINDI" , how can i show my whole site in hindi if user select option as Hindi ? Is WEFT works for languages as FRENCH ,GERMAN , ARABIC etc ?

KK Paliwal said...

Hi,
I am creating one Spiritual site which contains lot of information on ancient mantra's from Vedas and ancient books.
Basically I need to uploaded these stuff in hindi in SQL Express database through my admin interface and when users see the webpage, no need to download any fonts, he should be able to see the page irrespective of browser type and version.

Thanks
KK Paliwal

Anu said...

Hello,
Thanks for your information.....

reena said...

No good .Useless for me.There is data insert in like '?'.

deepika said...

use unicode data for that and in databse use datatype like nchar or nvarchar...which is used to save unicode data!!
mangal is the unicode font and there are many softwares available which convert hindi (written in shusha or krutidev etc) to unicode!

Parul1426 said...

please tell me... if there is any solution to change language of particluar textbox in web application?

deepika said...

yes! parul...
like in asp.net select the properties of the particular textbox.in that font--> font name change from there like mangal for hindi. another use the utf8 fr other languages on the source page!!

divendu_verma@yahoo.co.in said...

dear what you write is correct but what if any one to write in hindi for example sending feedback form ih hindi, most of site i have visited like web dunia, bhaskar and more they provide mechanism for this i am searching for this if you hav please tell me

Anonymous said...

1. You must have font file wid ttf/eot/woff/svg any among these files.
3.link the style sheet to ur index page,
2. use css @font-face rule to embabe your font in ur code.

and thats its

Tiger Matka said...

hey how too generate hindi code like #2327;ल जोड to complete my kalyan matka website. kindly help me.

Phoenix Infomedia said...

This is something very interesting, you must share more like this. Your blog is very helpful for the website designing and development experts.

Phoenix Infomedia said...

Your post shares something very unique information as we know some people don't understand english so it is best if the website is developed in a native language also like hindi. Your blog helps most of the website development experts. Thanks for sharing…