471,598 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,598 software developers and data experts.

Problem displaying Hindi font

I'm trying to use an html form to upload foreign language translations of English terms into a MySQL database. Since many different languages will be entered on the page, I have read that I should set the charset on my uploading page as follows: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

This has worked great for many different languages, including: Arabic, Spanish, Mandarin, etc. Basically, I have all the translations in a Word doc and simply copy and paste them one at a time into a text box in the html form and then hit a submit button to upload them to a field in the database table of type 'blob'. I have been able to pull these translations from the database and display on the web without any problem, except I can't get the Hindi terms to work.

The font I'm copying from the Word doc is 'Kruti Dev 010'. When I copy the translation from the Word doc and paste it into the text box in my form, it turns to gibberish, i.e. 'iw.kZ U;wVªksfQy la[;k'. How is it that every other language works except for Hindi? The weird thing is that I have found Hindi text displayed on various websites which I am able to copy and paste successfully into my text box. I just can't copt and paste successfully from my Word doc.

I've been searching the web for hours and am at a loss. Any help would be greatly appreciated!
Sep 12 '07 #1
0 4142

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Dariusz | last post: by
20 posts views Thread by B Wooster | last post: by
4 posts views Thread by grawsha2000 | last post: by
3 posts views Thread by pratik.best | last post: by
2 posts views Thread by sorobor | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.