Search code examples
phphtmlaptana3

Aptana Studio 3 - strange characters showing up in HTML code


I am running into a problem and I'm wondering if anyone else has come across it. I am working on some PHP pages in Aptana Studio 3. They were created by another web developer. When I open the PHP files in Aptana the apostrophes (') and quotes (" ") in the paragraph text are showing up as a white question mark in a black diamond shape: �

Any ideas on what could be causing this? Thank you for your help!


Solution

  • Usually these symbols are indicative of an encoding issue. UTF-8 is pretty much standard. Verify that you have the proper encoding across all your environments.

    This may be a good resource for you: PHP: The Right Way - Working with UTF-8