wrong echo symbols - Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abdoelmasry
    New Member
    • Oct 2006
    • 104

    wrong echo symbols - Help

    Dear profs

    i have strange error while trying to use echo with HTML code:

    [PHP]echo "html code";[/PHP]

    i got some strange symbols

    see photo



    Thank u
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    This is your first warning. This post contains barely any information, no question, and falls under the 'crappy post' rule.

    When you post a question, be as informative as possible.

    Moderator.

    Comment

    • abdoelmasry
      New Member
      • Oct 2006
      • 104

      #3
      im Sorry sir

      Just do your must

      move or replace it

      i will not repeat this mistake

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        Originally posted by abdoelmasry
        im Sorry sir

        Just do your must

        move or replace it

        i will not repeat this mistake
        I'd rather you gave us more information on the problem so that we may help you.

        Markus.

        Comment

        • abdoelmasry
          New Member
          • Oct 2006
          • 104

          #5
          Dear Markus

          i solve it but need to share solution:

          i have html templates saved in text files ,

          the files encoding should be similar ,

          my text files stored as ANSI encoding but some files were stored as UTF

          when i explode template contents and try to view it using ECHO

          it shows strange symplos due to encoding difference

          after using the same encoding it works good

          Thank U

          Comment

          • pbmods
            Recognized Expert Expert
            • Apr 2007
            • 5821

            #6
            Heya, abdoelmasry.

            You might find this article to be of interest:
            http://inspired_tmu.web.aplus.net/20...-utf-8-part-2/

            Comment

            Working...