Announcement

Collapse
No announcement yet.

Puzzling £ sign

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Puzzling £ sign

    I use Deleloper 7.0.5
    I have 3 Actinic websites (ALL ON THE SAME DEDICATED SERVER)
    One website is displaying ? instead of £ signs
    Iv'e been told that its because the server is using 'Unicode' (UTF) as the default character set, but it should be using ISO and that I should change it.
    So why are my other Actinic websites not displaying this problem?
    They are all on the same server and displaying £ signs OK

    Also some idea on how to do the change would be helpful as my host company FASTHOSTS want to charge me £60 to do this, and say it will take a week as they are very busy.
    I have an Apachie Server running Fedora Core. (I'm a PC user)
    Somebody mentioned using PUTTY? - whats that? (no silly answers please)

    #2
    Try reading this thread. Particularly post #15. http://community.actinic.com/showthread.php?t=27769

    Mike

    PS. A search of the forum will often show the answer without needing a new thread.
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      The thread you refer to is NOT an anwer - I have read this thread previously
      Maybe Bruce Townsend could answer why I have 3 websites with:
      2 working fine (displaying £ signs) and
      1 displaying ? as a £ sign
      All 3 on the same server SO ITS NOT A SERVER ISSUE

      Look here: This is the bad website
      This is the good website

      Comment


        #4
        Well I'd hate to disagree with you.

        But,

        Both your server headers are reporting the encoding as UTF-8 and for some reason IE isn't accepting the header over-ride on one of them.

        See:

        #1 Server Response: http://www.tonerplanet.net/acatalog/Epson_Ribbons.html
        HTTP Status Code: HTTP/1.1 200 OK
        Date: Tue, 06 Nov 2007 15:23:59 GMT
        Server: Apache/2.2.0 (Fedora)
        Last-Modified: Mon, 30 Jul 2007 13:03:07 GMT
        ETag: "9880b6-6891-b6c338c0"
        Accept-Ranges: bytes
        Content-Length: 26769
        Connection: close
        Content-Type: text/html; charset=UTF-8
        #1 Server Response: http://www.ineedmedia.co.uk/acatalog...th_1_Tray.html
        HTTP Status Code: HTTP/1.1 200 OK
        ETag: "98852c-4b23-9d0f0180"
        Content-Length: 19235
        Content-Type: text/html; charset=UTF-8
        Last-Modified: Fri, 02 Nov 2007 22:23:18 GMT
        If you look at the bad one in IE, right click then select 'encoding' and change it away from UTF-8 then the £ symbol will show.

        Now I can't tell you why one works and not another, but I can be fairly confident that if neither your server header nor page header say UTF encoding (rather than being inconsistent) then the problem is likely to go away.

        Mike
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment


          #5
          thanks oldercot for your analysis - and time
          forgive my over zealousness - these inconsistancies just bug me (as I'm sure they do with everybody else who comes across them)
          Maybe I should just pay FASTHOSTS the £60 to change default character set and bite my tongue.

          Just before I do though - does anybody know how to use PUTTY

          Comment


            #6
            This inconsistency is all a bit strange.

            I think Louise might have the easiest solution which is to create a .htaccess file that contains the following:

            AddDefaultCharset iso-8859-1

            I think placing it in your web root for each site should be fine rather than having to do it for each subdirectory as it automatically covers them as well.

            You probably already have .htaccess file that you could add this line to. If not, then it's very easy to create one. Just create a file called filename.txt and put the line in there with a text editor. save as text and then ftp into your web root directory. Then rename the file to .htaccess

            Mike

            Edit: There we go again. Someone's beating me to it with my replies.
            -----------------------------------------

            First Tackle - Fly Fishing and Game Angling

            -----------------------------------------

            Comment


              #7
              I did as you said........No LUCK
              When you first access a domain (via FTP) what folder are you in (and is this the root?)
              I have to go inside the USER folder, then into the HTDOCS folder to reach the ROOT of my website (where index.html is stored)
              I put a file (.htaccess) in the first folder (and in the HTDOCS folder just in case)

              Thanks for all your help - not sorted yet though...

              Comment


                #8
                You may have to put .htaccess in the acatalog and cgi-bin folders.
                Peblaco

                Comment


                  #9
                  Thanks for the effort peblaco
                  I put the file in the acatalog folder and cgi-bin
                  Refreshed several times
                  No Luck..........Thanks for the help

                  Comment


                    #10
                    Ive had several instances of this and a change at the host end is the best option IMO

                    Comment

                    Working...
                    X