/    Sign up×
Community /Pin to ProfileBookmark

HTML in non-english languages

Hello people
I am working on a web site that requires [COLOR=”Red”]non-english font such as ARABIC, PERSIAN, etc.[/COLOR]I can’t find any guideline or instruction as how to go about it. Any ideas?
Thanks in advance
PS. If you can recommend a book on the topic I also apreciate.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@kfranzdevJul 08.2007 — what do you need to know about it? i haven't yet created a website with arabic yet, but i have worked with russian and eastern european languages. it may just have to do with the character encoding set for the site...like UTF-8 or UTF-16?
Copy linkTweet thisAlerts:
@XTIauthorJul 08.2007 — 
  • 1. My own computer and keyboard does not give me Persian or Arabic charaters. So first problem is [B]generating those characters on my machine [/B]so I can paste them into the HTML pages.

  • 2. These pages would have [B]part english and part Persian [/B]content (characters) if I specify UTF-8 wouldn;t that lead to problems?

  • 3. Forms in the pages should send the filled data (in persian) to [B]mysql [/B]database. (I checked the MySQL site and can;t find any reference to foreign characters. WOuld it accept foreign characters?)


  • Thanks a million for your information
    Copy linkTweet thisAlerts:
    @____MaNiC_MoE____Jul 08.2007 — hmm.. dat seemz like a BIG story, loolz

    Anyway,

    1. My own computer and keyboard does not give me Persian or Arabic charaters. So first problem is generating those characters on my machine so I can paste them into the HTML pages.

    2. These pages would have part english and part Persian content (characters) if I specify UTF-8 wouldn;t that lead to problems?

    3. Forms in the pages should send the filled data (in persian) to mysql database. (I checked the MySQL site and can;t find any reference to foreign characters. WOuld it accept foreign characters?)[/QUOTE]


    Thanks a million for your information

    1.Well, install the characters and get a new keyboard with the required layout.

  • 2. Nope, I don't think that would be a problem.


  • 3. I don't know really, but you could use English characters that show the pronunciation for these words.
  • Copy linkTweet thisAlerts:
    @____MaNiC_MoE____Jul 10.2007 — Hey, I found out a solution!!

    Just a second ago I was opening the [URL=http://www.w3c.org/]W3C[/URL] and I found them having more than one language written in under the "World Offices" heading.

    So, I checked out the source code, and thats' how they did it :

    [code=html]
    <p class="navPara">The <a href="/Consortium/Offices/" class="navlink">W3C Offices</a>, part of the <a href="/2007/IntlRel.html">W3C
    International Relations team</a> translate many W3C home page news
    items. W3C Offices are located in these parts of the world:</p>

    <ul>
    <li><a href="http://www.w3c.org.au/" class="navlink" title="Australia">Australia</a></li>

    <li><a href="http://www.w3c.nl/index.shtml.nl" class="navlink" hreflang="nl" title="Benelux"><span xml:lang="nl" lang="nl">Benelux</span></a>/<a href="http://www.w3c.nl/index.shtml.fr" class="navlink" title="Benelux" hreflang="fr"><span xml:lang="fr" lang="fr">Bénélux</span></a></li>

    <li><a href="http://www.chinaw3c.org/" class="navlink" title="China" hreflang="zh-hans"><span xml:lang="zh-hans" lang="zh-hans">&#20013;&#22269;</span>
    (China)</a></li>

    <li><a href="http://www.w3c.tut.fi/" class="navlink" title="Finland" hreflang="fi"><span xml:lang="fi" lang="fi">Suomi</span>

    (Finland)</a></li>

    <li><a href="http://www.w3c.de/" class="navlink" title="German and Austria" hreflang="de"><span xml:lang="de" lang="de">Deutschland und Österreich</span> (Germany and Austria)</a></li>

    <li><a href="http://www.w3c.gr/" class="navlink" title="Greece" hreflang="el"><span xml:lang="el" lang="el">&#917;&#955;&#955;&#940;&#948;&#945;</span>
    (Greece)</a></li>

    <li><a href="http://www.w3c.org.hk/Chinese_T/index.html" class="navlink" title="Hong Kong" hreflang="zh-hant"><span xml:lang="zh-hant" lang="zh-hant">&#39321;&#28207;</span> (Hong Kong)</a></li>

    <li><a href="http://www.w3c.hu/" class="navlink" title="Hungary" hreflang="hu"><span xml:lang="hu" lang="hu">Magyarország</span>
    (Hungary)</a></li>

    <li><a href="http://www.w3cindia.in/" class="navlink" title="India" hreflang="en"><span xml:lang="hi" lang="hi">&#2349;&#2366;&#2352;&#2340;</span>
    (India)</a></li>

    <li><a href="http://www.w3c.org.il/indexh.php" class="navlink" title="Israel" hreflang="he"><span xml:lang="he" lang="he">&#1497;&#1513;&#1512;&#1488;&#1500;</span>
    (Israel)</a></li>

    <li><a href="http://www.w3c.it/" class="navlink" title="Italy" hreflang="it"><span xml:lang="it" lang="it">Italia</span>

    (Italy)</a></li>

    <li><a href="http://www.w3c.or.kr/" class="navlink" title="Korea" hreflang="ko"><span xml:lang="ko" lang="ko">&#54620;&#44397;</span> (Korea)</a></li>

    <li><a href="http://www.w3c.org.ma/" class="navlink" title="Morocco" hreflang="ar"><span xml:lang="ar" lang="ar">&#1575;&#1604;&#1605;&#1594;&#1585;&#1576;</span>
    (Morocco)</a></li>

    <li><a href="http://www.w3c.org.za/" class="navlink" title="Southern Africa" hreflang="en">Southern Africa</a></li>

    <li><a href="http://www.w3c.es/" class="navlink" title="Spain" hreflang="es"><span xml:lang="es" lang="es">España</span>

    (Spain)</a></li>

    <li><a href="http://www.w3c.se" class="navlink" title="Sweden" hreflang="sv"><span xml:lang="sv" lang="sv">Sverige</span>
    (Sweden)</a></li>

    <li><a href="http://www.w3c.rl.ac.uk/" class="navlink" title="UK and Ireland" hreflang="en-uk">United Kingdom and Ireland</a></li>
    </ul>
    [/code]


    I think this would help!!
    ×

    Success!

    Help @XTI spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...