regional text encoding

Discussion in 'Hosting Services / Control Panel' started by apemen, Dec 18, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,
    I use Turkish fonts for my web site,
    and insert related metas:

    <META http-equiv="content-type" content="text/html; charset=windows-1254">
    <META http-equiv="content-type" content="text/html; charset=ISO-8859-9">
    <META http-equiv="content-language" content="TR">

    But id does not display Turkish characters properly:
    "Ý" "þ" "Þ" "ç" "Ç" "ü" "Ü" "ö" "Ö" "ý"

    Is this because of host configuration?

    Thank you very much...
     
  2. Thank you for your interest.
    I found that it is because of Dreamweaver does not use
    Turkish encoding, I used another editor and it solved the problem.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    i found this in our Internal KB, i am not sure if this will solve your problem, but you can give it a shot.



    If you're trying to create a site that caters to non-English speakers, you need to be able to use languages other than English. Note for advanced readers, this article is not going to address the needs of double-byte languages such as Japanese or Chinese. This is meant as an overview of special characters within the Latin-1 character set.

    HTML was developed in English. Many pages are written in English, but that doesn't mean that you can't write pages in other languages. It's easy to write pages that use a similar alphabet to English, called the Latin-1 character set. This includes languages such as:
    English
    French
    Spanish
    German

    Using Special Characters
    But standard English doesn't include accented characters, letters with tildes or umlauts, and ligatures (two letters smashed together). So, how do you use languages that do have those characters? HTML has an encoding system that allows you to display these characters even if they aren't right on your keyboard.

    One common problem that occurs on non-English pages is that the non-English characters, such as á and ñ are displayed using computer codes. For many people viewing the page, this doesn't appear to be a problem. The á and ñ display correctly, as long as they are using the same type of computer. For example, my co-worker has written pages for our French Canada site that look correct on his Mac and my Mac, but when we look at them on my PC strange characters appear.

    This is because the Web page content was written in Microsoft Word. Then the text was copied and pasted directly into the HTML. Word uses codes to define the special characters, but these codes are different across systems. But if you convert those codes to HTML codes, they will display correctly on the Web.

    Character Codes
    Here are some of the non-English Latin-1 characters, and the special codes used in HTML to write them: Character Code
    <TABLE cellSpacing=0 cellPadding=5 bgColor=#ffffff border=1>
    <TBODY>
    <TR>
    <TH style="FONT-SIZE: 10pt" align=left>Character</TH>
    <TH style="FONT-SIZE: 10pt" align=left>Code</TH></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Á and á</TD>
    <TD style="FONT-SIZE: 10pt">&Aacute; and &aacute;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Â and â</TD>
    <TD style="FONT-SIZE: 10pt">&Acirc; and &acirc;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Æ and æ</TD>
    <TD style="FONT-SIZE: 10pt">&AElig; and &aelig;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">À and à</TD>
    <TD style="FONT-SIZE: 10pt">&Agrave; and &agrave;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Å and å</TD>
    <TD style="FONT-SIZE: 10pt">&Aring; and &aring;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ã and ã</TD>
    <TD style="FONT-SIZE: 10pt">&Atilde; and &atilde;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ä and ä</TD>
    <TD style="FONT-SIZE: 10pt">&Auml; and &auml;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ç and ç</TD>
    <TD style="FONT-SIZE: 10pt">&Ccedil; and &ccedil;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">É and é</TD>
    <TD style="FONT-SIZE: 10pt">&Eacute; and &eacute;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ê and ê</TD>
    <TD style="FONT-SIZE: 10pt">&Ecirc; and &ecirc;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">È and è</TD>
    <TD style="FONT-SIZE: 10pt">&Egrave; and &egrave;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ë and ë</TD>
    <TD style="FONT-SIZE: 10pt">&Euml; and &euml;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Í and í</TD>
    <TD style="FONT-SIZE: 10pt">&Iacute; and &iacute;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Î and î</TD>
    <TD style="FONT-SIZE: 10pt">&Icirc; and &icirc;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ì and ì</TD>
    <TD style="FONT-SIZE: 10pt">&Igrave; and &igrave;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ï and ï</TD>
    <TD style="FONT-SIZE: 10pt">&Iuml; and &iuml;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ñ and ñ</TD>
    <TD style="FONT-SIZE: 10pt">&Ntilde; and &ntilde;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ó and ó</TD>
    <TD style="FONT-SIZE: 10pt">&Oacute; and &oacute;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ô and ô</TD>
    <TD style="FONT-SIZE: 10pt">&Ocirc; and &ocirc;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ò and ò</TD>
    <TD style="FONT-SIZE: 10pt">&Ograve; and &ograve;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ø and ø</TD>
    <TD style="FONT-SIZE: 10pt">&Oslash; and &oslash;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Õ and õ</TD>
    <TD style="FONT-SIZE: 10pt">&Otilde; and &otilde;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ö and ö</TD>
    <TD style="FONT-SIZE: 10pt">&Ouml; and &ouml;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ú and ú</TD>
    <TD style="FONT-SIZE: 10pt">&Uacute; and &uacute;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Û and û</TD>
    <TD style="FONT-SIZE: 10pt">&Ucirc; and &ucirc;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ù and ù</TD>
    <TD style="FONT-SIZE: 10pt">&Ugrave; and &ugrave;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ü and ü</TD>
    <TD style="FONT-SIZE: 10pt">&Uuml; and &uuml;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ý and ý</TD>
    <TD style="FONT-SIZE: 10pt">&Yacute; and &yacute;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">? and ÿ</TD>
    <TD style="FONT-SIZE: 10pt">&Yuml; and &yuml;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">Ð and ð</TD>
    <TD style="FONT-SIZE: 10pt">&ETH; and &eth;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">ß</TD>
    <TD style="FONT-SIZE: 10pt">&szlig;</TD></TR>
    <TR>
    <TD style="FONT-SIZE: 10pt">þ</TD>
    <TD style="FONT-SIZE: 10pt">&thorn;</TD></TR></TBODY></TABLE>


    quote:Originally posted by apemen

    Hi,
    I use Turkish fonts for my web site,
    and insert related metas:

    <META http-equiv="content-type" content="text/html; charset=windows-1254">
    <META http-equiv="content-type" content="text/html; charset=ISO-8859-9">
    <META http-equiv="content-language" content="TR">

    But id does not display Turkish characters properly:
    "Ý" "þ" "Þ" "ç" "Ç" "ü" "Ü" "ö" "Ö" "ý"

    Is this because of host configuration?

    Thank you very much...

    </blockquote id="quote"></font id="quote"> quote:</blockquote id="quote"></font id="quote"> quote:</blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page