What character encoding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GGnOrE
    New Member
    • Jun 2007
    • 8

    What character encoding

    Hey,
    When I am writing an HTML Document, how do i know what character encoding I am using. Is Times New Roman have a specific character encoding or can it be found on my host server?

    What do you think is the best type of encoding?
    Thanks for any help that can be given
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    There is a difference between encoding and font. Times New Roman is a font. There is no way to guarantee which font will display in a client's browser because it depends on which browser and OS they are using. Plus, they can set their browser to use a specific one.

    However, you can specify your preferred font in css using 'font-family'.

    Comment

    • praveen2gupta
      New Member
      • May 2007
      • 200

      #3
      Originally posted by GGnOrE
      Hey,
      When I am writing an HTML Document, how do i know what character encoding I am using. Is Times New Roman have a specific character encoding or can it be found on my host server?

      What do you think is the best type of encoding?
      Thanks for any help that can be given

      Hi , Encoding is related to the Language In which you wants to write and display. Times new Roman is the font and it is not related with the encoding.
      At present ISO-8859-1 , UTF-8 , etc encoding is in use.
      You should write the ecnoding in the meta tags of the Header section of the HTML page. The Example is as follows.
      Code:
      <META http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'>

      Comment

      • GGnOrE
        New Member
        • Jun 2007
        • 8

        #4
        Hey,
        Thanx to both replies, sorry about the hold up. I've been busy.

        The second reply was what I was really looking for. I was looking for the charset that my text file should be encoded to when be assced by a browser.

        So I guess i should used utf-8!!!
        Big Thank you to both replies though!!!

        Comment

        • GGnOrE
          New Member
          • Jun 2007
          • 8

          #5
          I found a really good website about character encoding right here...
          Looking over the html specifications promted me to look over character encoding in the first place.

          http://www.joelonsoftw are.com/articles/Unicode.html

          Comment

          Working...