Jump to content

Recommended Posts

Can anyone help me with this problem. I'm trying to include the irish language on my webpage which has special characters like

á ú ó

If I write the page with these characters they are not understood by the browser (IE or Firefox) and appear as junk characters. I know that I can include code like

 

Glór Cheatharlach

 

and this will appear like

 

Glór Cheatharlach

 

But this is far too much work as the entire site needs these characters over and over again. I have looked at the source code of other irish language sites and they have the special characters straight there in the code with no stuff like ó and it displays in my browser perfectly. If I copy and paste that text into my html page it does not work and I get junk characters again. I really need to crack this one. Will you please look at the following site to see what I mean about the characters:

 

www.glorcheatharlach.ie

 

Take a look at the source code and see that the characters are written straight in and display fine except for when I do it in my pages.

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/155542-display-special-characters-problem/
Share on other sites

Make sure you have this

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

 

in your html's head, and that your source is saved as utf-8 without BOM (you can easily check that, and convert if needed using Notepad++)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.