What is  ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • red

    #1

    What is  ?

    What is this and why does it appear on my web pages:  ?

    In case the font doesn't translate into newsgroups, its a funny looking
    i with two dots over the top, two greater than signs real close
    together, and an upside down question mark.

    I have winxp with apache 2 and php5 installed on my computer.

    So far, through a process of elimination, I have determined that the
    offending funny little marks appear when ever I edit certain included
    pages. The only way to get rid of them is to copy and paste the entire
    contents of the includes into new documents. But whenever I edit that
    document , the marks appear again.

    Its a pain in the ass, as I am contantly editing the functions in my
    includes.

    I wish I knew what exactly is going on, and how to prevent it.

    thanks.

    pete

  • Chung Leong

    #2
    Re: What is  ?

    "red" <groups@reenie. org> wrote in message
    news:J_bWc.4491 69$165.71721@ne ws.easynews.com ...[color=blue]
    > What is this and why does it appear on my web pages:  ?
    >
    > In case the font doesn't translate into newsgroups, its a funny looking
    > i with two dots over the top, two greater than signs real close
    > together, and an upside down question mark.
    >
    > I have winxp with apache 2 and php5 installed on my computer.
    >
    > So far, through a process of elimination, I have determined that the
    > offending funny little marks appear when ever I edit certain included
    > pages. The only way to get rid of them is to copy and paste the entire
    > contents of the includes into new documents. But whenever I edit that
    > document , the marks appear again.
    >
    > Its a pain in the ass, as I am contantly editing the functions in my
    > includes.
    >
    > I wish I knew what exactly is going on, and how to prevent it.
    >
    > thanks.
    >
    > pete[/color]

    Ha ha, that is the infamous ZWNBSP--Zero Width Non-Breaking Space. Notepad
    will automatically add this Unicode character (which you can't see, as it
    has no width) at the beginning of files that are saved as UTF-8.

    The moral of the story is 'get a real text editor.'


    Comment

    • red

      #3
      Re: What is ?

      Chung Leong wrote:[color=blue]
      > "red" <groups@reenie. org> wrote in message
      > news:J_bWc.4491 69$165.71721@ne ws.easynews.com ...
      >[color=green]
      >>What is this and why does it appear on my web pages:  ?
      >>
      >>In case the font doesn't translate into newsgroups, its a funny looking
      >> i with two dots over the top, two greater than signs real close
      >>together, and an upside down question mark.
      >>
      >>I have winxp with apache 2 and php5 installed on my computer.
      >>
      >>So far, through a process of elimination, I have determined that the
      >>offending funny little marks appear when ever I edit certain included
      >>pages. The only way to get rid of them is to copy and paste the entire
      >>contents of the includes into new documents. But whenever I edit that
      >>document , the marks appear again.
      >>
      >>Its a pain in the ass, as I am contantly editing the functions in my
      >>includes.
      >>
      >>I wish I knew what exactly is going on, and how to prevent it.
      >>
      >>thanks.
      >>
      >>pete[/color]
      >
      >
      > Ha ha, that is the infamous ZWNBSP--Zero Width Non-Breaking Space. Notepad
      > will automatically add this Unicode character (which you can't see, as it
      > has no width) at the beginning of files that are saved as UTF-8.
      >
      > The moral of the story is 'get a real text editor.'
      >
      >[/color]
      I only have the problem in Ultraedit. I thought that's as real as it
      gets. I don't see the charactars in Ultraedit, but if I open the file in
      a browser, I can see them there. If I open the file in Notepad, I can
      see them and erase them. but they come back the next time I open them in
      Ultra edit.

      anyway, you pointed me in the right direction. In ultraedits file menu
      is a thing called conversion, and I clicked on UTF-8 and it seems to
      have done the trick. thanks.

      red


      red

      Comment

      • red

        #4
        Re: What is ?

        red wrote:[color=blue]
        >
        > anyway, you pointed me in the right direction. In ultraedits file menu
        > is a thing called conversion, and I clicked on UTF-8 and it seems to
        > have done the trick. thanks.
        >
        > red
        >
        >[/color]
        I meant UTF-8 to ansi

        red

        Comment

        • Bartlomiej Zdanowski

          #5
          Re: What is  ?

          red <groups@reenie. org> wrote in message news:<J_bWc.449 169$165.71721@n ews.easynews.co m>...[color=blue]
          > What is this and why does it appear on my web pages:  ?
          >[/color]

          Hi.
          It's an UTF8 header. Don't use notepad or other dummy soft to write
          your scripts. You have to use other software and set in preferences
          'not to inlude utf header'. This solution helped in my case. It's
          really bad thing, because '' appears on top of all php scripts
          which causes output to be sent before all other data. You then cannot
          use header() and session() functions, which uses own header data and
          over that this '' looks ugly ;)


          Greetings,
          Bartlomiej Zdanowski
          PHP programmer
          INFO-TRADE Ltd.

          Comment

          Working...