Results 1 to 9 of 9

Thread: Unknown character before £ sign

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default Unknown character before £ sign

    Trying to fix this issue with an unknown character before a £ sign

    Here is the page http://www.theremotedoctor.co.uk/victorias_attic.html

    Any advice on how i fix this so its not shown.
    Last edited by Beverleyh; 03-01-2015 at 01:22 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    I'm not seeing anything on iPhone. Did you fix it already?

    I recently had a problem with an RSS feed putting what looked like a capital A, with some kind of accent above it, in front of £ signs. I fixed it by changing the charset from ISO-8859-1 to UTF-8
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    Yes its sorted now.
    After i fixed it i had no internet all night.
    I did change it to UTF-8

    Thanks

  4. #4
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    To make your site cross-browser compatible, it would be wiser to replace the pound character with the HTML entity. Use either £ or &_#163; (remove the underscore!).

  5. #5
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there styxlawyer,

    feel free to correct me if I am wrong, but I would
    assume that all modern browsers support UTF-8.

    coothead

  6. #6
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    I never had anything so i added this and works for me <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    Regarding making the site cross-browser compatible do you mean in some browsers the £ sign will be shown as a different character ?
    I have check in IE,Firefox & Chrome and all show the £ sign no problem.
    Thanks for the input.

  7. #7
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    It's more likely that problems arise if the software used to save the web page document during editing is using a different encoding system than the charset of the web page - so it sometimes happens where you introduce a character to a document that gets converted and then displayed as square or question mark. This is a saved character 'fault' in the file though, rather than a browser misinterpreting it on screen.

    More info here http://www.thesitewizard.com/html-tu...orrectly.shtml
    Last edited by Beverleyh; 03-02-2015 at 03:37 PM. Reason: link added
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  8. #8
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    So best if i go with &pound; etc rather than just a £ sign.

  9. #9
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    See the link in my previous post. Using &pound; is a quick fix but doesn't solved any underlying encoding mismatch (if present). It is better to match the UTF-8 declaration of the file to the encoding scheme of the file when it is saved. For example, in Notepad you can do this at the save screen where the encoding type dropdown defaults to ANSI. Change it to UTF-8 to save your UTF-8 declared web page.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Issue unknown in little JS Script
    By [Nicolas] in forum JavaScript
    Replies: 0
    Last Post: 03-06-2011, 02:22 AM
  2. Unknown Runtime Error In IE
    By littleduk in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 11-23-2009, 03:50 PM
  3. Unknown script.. please help me
    By eliran9 in forum Looking for such a script or service
    Replies: 1
    Last Post: 10-05-2009, 07:24 AM
  4. The Unknown
    By molendijk in forum The lounge
    Replies: 11
    Last Post: 03-21-2009, 12:30 PM
  5. Unknown Common has one script override another?
    By JAB Creations in forum JavaScript
    Replies: 0
    Last Post: 03-30-2008, 03:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •