• Why is it that when I work on a *.php file that has the » character in it , and then I resave the file and upload it to the server – the »character – instead of displaying as a double hash mark – turns into a question mark (?) in my browser window instead – both in Firefox and IE.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You may be using an odd font in the title bar of your operating system which doesn’t contain the &raquo character. Try changing it to a default font like Arial just to check. On Windows this is Start -> Settings -> Control Panel -> Display -> Appearance. You can change the font from there.

    Thread Starter rvblog

    (@rvblog)

    I don’t believe that is the problem because when I install the style.css and the index.php that is included in the nightly zip file (default theme) the » (») character appears as it should in my browser window.

    It is only after I open the files in an editor and make other changes, resave the files and upload them to the server does the » character change from the » being displayed to a question mark ? being displayed in its place.

    When you re-upload the file, does it still contain » and not the actual » character itself? Go to your site and view your source code with your browser. If so, your FTP or text editing app might be converting the ascii code to the character automatically and autoannoyingly…

    I remember the SmartFTP client for windows causing similar problems.

    Make sure the the transfer type is set to auto in your FTP client.

    It probably is, but it’s worth checking.

    Thread Starter rvblog

    (@rvblog)

    Superspiker:

    I’m using AceFTP and it is set to “auto” – so it switches file types as required – never had a problem with the settings before.

    Johnb:

    I’m using Acehtml 6.03 for my editor – it looks like the editor is causing the problem

    When I copy and paste the » character to another spot in the file, Acehtml automatically changes it to »

    When I type in » manually it enters ok, but when I save the file, and then I reopen it, the » has been changed to the » symbol.

    When I was uploading the faulty file, the browser was seeing the » character and displaying it as a question mark ?

    So it appears to be an editor problem – not sure if I can select an option in Acehtml to change this behaviour or not.

    Can anybody recommend another editor that doesn’t do this ?

    imho, the best editor:

    https://www.dzsoft.com/dzphp.htm

    Thread Starter rvblog

    (@rvblog)

    Yes is was acehtml causing the problem

    I downloaded the PHP Designer 2005 editor (freeware) and the php files save ok – the » character stays in the code and is displayed as » properly in the browser window when you visit the site

    Thanks for helping me solve this issue

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘» changes to ?’ is closed to new replies.