Language : ISO / UTF ?
Moderator: General Moderators
Language : ISO / UTF ?
Im trying to get a site of mine display in indian languages.
Im new to this utf / iso language concept.
I understand for hindi its utf-8 but whats the font specified ? By sending Content utf-8 the font will be automatically detected or do we have to specify one ?
BTW, I checked up W3C and unicode - couldn't find anything for Tamil and Malayalam characters - are there any specs on these ? Or just simple font change in HTML tags ?
Thanks
Im new to this utf / iso language concept.
I understand for hindi its utf-8 but whats the font specified ? By sending Content utf-8 the font will be automatically detected or do we have to specify one ?
BTW, I checked up W3C and unicode - couldn't find anything for Tamil and Malayalam characters - are there any specs on these ? Or just simple font change in HTML tags ?
Thanks
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
Ok. So font doesnt have to be specified.
In this example why is Test being shown as Test in English ? Shouldnt it be shown with the Hindi characters ?
In this example why is Test being shown as Test in English ? Shouldnt it be shown with the Hindi characters ?
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<HTML XMLNS="http://www.w3.org/1999/xhtml" XML:LANG="hi" LANG="hi" DIR="ltr">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=hindi-utf-8" />
<TITLE>Hindi</TITLE>
</HEAD>
<BODY>Test</BODY>
</HTML>- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Not completely certain - but the encoding specifies the character set you used. So assuming you wrote using utf-8 compatible characters, the browser should show them correctly.
However Test are not hindi characters, are they? So why would your encoding alter how they are viewed? Western/Roman characters are part of utf-8 too...so they'll be displayed as is. You need to literally write in hindi characters with a unicode font setup on your editor I assume...
However Test are not hindi characters, are they? So why would your encoding alter how they are viewed? Western/Roman characters are part of utf-8 too...so they'll be displayed as is. You need to literally write in hindi characters with a unicode font setup on your editor I assume...
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
View source: http://www.google.com/intl/hi/
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
But according to this : http://www.alanwood.net/unicode/devanagari.html
A stands for अ
AA stands for आ
So is there anyway to type AA in a plain text editor and get output आ in the browser ?
A stands for अ
AA stands for आ
So is there anyway to type AA in a plain text editor and get output आ in the browser ?
Last edited by anjanesh on Sat Feb 19, 2005 9:02 am, edited 1 time in total.
Im not looking for to type आ in a text editor. Something like this (say in notepad or Context):
The output in any browser (IE / FF) should be आ
Code: Select all
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8" />... and all that
<?
$strLetter="AA";
echo $strLetter;
?>- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
Hey, where does it say that A 'stands for' अ , huh?anjanesh wrote:But according to this : http://www.alanwood.net/unicode/devanagari.html
A stands for अ
AA stands for आ
So is there anyway to type AA in a plain text editor and get output आ in the browser ?
What it only says is this that A 'is Devanagri Name for' अ. OKay
Not the character for typing अ .