Multilingual Web Design

Thread Solved

Join Date: Nov 2007
Posts: 13
Reputation: vinithktp is an unknown quantity at this point 
Solved Threads: 0
vinithktp vinithktp is offline Offline
Newbie Poster

Multilingual Web Design

 
0
  #1
Jul 4th, 2009
Hi All,
i am designing a multilingual website (English / Kannada). I can display Kannada font in IE by using Microsoft WEFT. But it is not displaying properly in Firefox and other browsers. How can i solve this problem. Please help me.
Thanking you,
Vinith
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,824
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Multilingual Web Design

 
0
  #2
Jul 4th, 2009
You need to encode them using UTF encoding.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 101
Reputation: ingeva is an unknown quantity at this point 
Solved Threads: 9
ingeva ingeva is offline Offline
Junior Poster

Re: Multilingual Web Design

 
0
  #3
Jul 5th, 2009
Originally Posted by vinithktp View Post
Hi All,
i am designing a multilingual website (English / Kannada). I can display Kannada font in IE by using Microsoft WEFT. But it is not displaying properly in Firefox and other browsers. How can i solve this problem.
Vinith
Windows doesn't support UTF-8 encoding very well, but that would be the way to go. I don't know the Kannada font, but like many other MS TrueType fonts it may not be complete.

I always use UTF-8 but I sometimes have problems with Windows, and especially Internet Explorer (7&8) not supporting Norwegian characters in filenames. It has cause a lot of problems.

The best solution would be to ditch Windows and IE altogether, but that's probably a bit unrealistic!
Yes, I'm running Ubuntu. Of course.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,321
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 161
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: Multilingual Web Design

 
0
  #4
Jul 6th, 2009
You can include the font file on your site, and reference it in the html, so that those browsers without native unicode for Kannada can get it from the font file
a list of fonts containing support for Kannada http://www.wazu.jp/gallery/Fonts_Kannada.html#samples from which you can download a font to your site
and
  1. @font-face {
  2. font-family: kannada;
  3. src: url(resolved-path-to-downloaded-kannada-font.ttf);
  4. }
in the css should permit access
Last edited by almostbob; Jul 6th, 2009 at 2:34 pm.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 13
Reputation: vinithktp is an unknown quantity at this point 
Solved Threads: 0
vinithktp vinithktp is offline Offline
Newbie Poster

Re: Multilingual Web Design

 
0
  #5
Jul 7th, 2009
Thank you so much for your help.
Iam using following code for include font
  1. <style type="text/css" media="screen, print">
  2. @font-face {
  3. font-family: BRH Kannada;
  4. src: local("BRH Kannada"), url("../fonts/brhknd.ttf") format("truetype");
  5. }
  6. body {
  7. font-family: "BRH Kannada", nudi_vedic_e;
  8. }
  9. <!--[if IE 7]>
  10. @font-face {
  11. font-family: BRH Kannada;
  12. src: url("../fonts/BRHKANN0.eot");
  13. }
  14. <!-- [endif] -->
  15. </style>

I checked with IE7, Firefox, Opera, Chrome, Safri. But it is working only with Safari browser.
Last edited by peter_budo; Jul 8th, 2009 at 7:05 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 101
Reputation: ingeva is an unknown quantity at this point 
Solved Threads: 9
ingeva ingeva is offline Offline
Junior Poster

Re: Multilingual Web Design

 
0
  #6
Jul 8th, 2009
Originally Posted by vinithktp View Post
css" media="screen, print">
@font-face {
font-family: BRH Kannada;
Does if work better if you put quotes around "BRH Kannada" ?
Yes, I'm running Ubuntu. Of course.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 13
Reputation: vinithktp is an unknown quantity at this point 
Solved Threads: 0
vinithktp vinithktp is offline Offline
Newbie Poster

Re: Multilingual Web Design

 
0
  #7
Jul 8th, 2009
Thank you. But it is not working
This is my modified code :
HTML and CSS Syntax (Toggle Plain Text)
  1. <style type="text/css" media="screen, print">
  2. @font-face
  3. {
  4. font-family: "BRH Kannada";
  5. src: url("../fonts/brhknd.ttf") format("truetype");
  6. }
  7. <!--[if IE 7]>
  8. @font-face
  9. {
  10. font-family: Times New Roman;
  11. font-style: normal;
  12. font-weight: normal;
  13. src: url(../fonts/TIMESNE0.eot);
  14. }
  15. @font-face
  16. {
  17. font-family: BRH Kannada;
  18. font-style: normal;
  19. font-weight: 700;
  20. src: url(../fonts/BRHKANN1.eot);
  21. }
  22. @font-face
  23. {
  24. font-family: BRH Kannada;
  25. font-style: normal;
  26. font-weight: normal;
  27. src: url(../fonts/BRHKANN0.eot);
  28. }
  29. <!--[endif]-->
  30. </style>
This is working perfectly with IE7 and Safari
Last edited by vinithktp; Jul 8th, 2009 at 10:39 am.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Multilingual Web Design

 
0
  #8
Jul 12th, 2009
It is not a good idea to use any special character in a filename, because some servers and Internet nodes don't know what to do with them. Stick to the US ASCII letters and numerals.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 101
Reputation: ingeva is an unknown quantity at this point 
Solved Threads: 9
ingeva ingeva is offline Offline
Junior Poster

Re: Multilingual Web Design

 
0
  #9
Jul 13th, 2009
Originally Posted by MidiMagic View Post
It is not a good idea to use any special character in a filename, because some servers and Internet nodes don't know what to do with them. Stick to the US ASCII letters and numerals.
There's a world outside of USA. If a system doesn't allow characters outside the limited ASCII set, it's the system that needs to be changed.
Yes, I'm running Ubuntu. Of course.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,321
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 161
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: Multilingual Web Design

 
0
  #10
Jul 13th, 2009
Originally Posted by ingeva View Post
There's a world outside of USA. If a system doesn't allow characters outside the limited ASCII set, it's the system that needs to be changed.
The system dont really give a flying f___, the software was written in English
the internet, shipping, airtravel, native language is English.
A limited character set for transport protocols is probably a good thing, there are too many translation versions of 2byte codes that there would be less compatibility if each server were to try to interpret them, according to its installed version.
If you invent something(or steal it convincingly enough), the microcode would probably be in that language of the inventor(theif)
Last edited by almostbob; Jul 13th, 2009 at 9:07 am.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC