Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

HTML - Irish fadas appear as junk characters

Options
  • 24-03-2007 5:05pm
    #1
    Closed Accounts Posts: 164 ✭✭


    If I try to use Irish fadas in my source code, they appear fine in Notepad, but when I load up the page, they appear as junk. In Internet Options -> General -> Languages, the setting is 'English (Ireland) [en-ie]' so why then doesn't the browser recognise the fadas?


Comments

  • Registered Users Posts: 6,501 ✭✭✭daymobrew


    Use the HTML entities that represent the characters you want.
    http://www.cookwood.com/html/extras/entities.html#char

    Lowercase i with a fada will be í.


  • Closed Accounts Posts: 164 ✭✭defenstration


    Cheers man


  • Registered Users Posts: 123 ✭✭Seán MacSuibhne


    If I try to use Irish fadas in my source code, they appear fine in Notepad, but when I load up the page, they appear as junk. In Internet Options -> General -> Languages, the setting is 'English (Ireland) [en-ie]' so why then doesn't the browser recognise the fadas?

    You can put ÁÉÍÓÚ áéíóú € in the text if the following is in the header

    <meta http-equiv="content-type" content="text/html; charset=utf-8">

    or

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">

    depending on which character set you are using.

    That way the webserver knows what characters to send.

    Seán


Advertisement