• Login
Community
  • Login

why notepad++ dosent show my language?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 636 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Shay Weizman
    last edited by Aug 3, 2020, 10:54 AM

    im writing my code on notepad++ and when i run the website all i see is question marks.
    and writing.
    how can i fix it so i could run a website

    P 1 Reply Last reply Aug 3, 2020, 1:21 PM Reply Quote 0
    • P
      PeterJones @Shay Weizman
      last edited by Aug 3, 2020, 1:21 PM

      @Shay-Weizman ,

      It’s probably an encoding issue. When you edited the source code in Notepad++, it probably saved as UTF-8 (which is the default set in a fresh Notepad++, but can be changed using Settings > Preferences > New Document > Encoding
      72b5dd5c-6809-4ec6-ae29-d48250a7be0b-image.png

      If your webserver is set up to serve some other encoding (like ISO-8859-1) as the default, then fancy characters in a UTF-8-encoded file will not look right at the browser. At which point, you need to setup your server differently (which we cannot help you with), or code your webpage to the right encoding (not really on-topic for here, but since it’s a one-liner: <meta charset="UTF-8">), or save the file in Notepad++ using the encoding your webserver wants (for example, Encoding > Character Sets > Western European > ISO 8859-1).

      Alternately, it might be that your browser doesn’t have access to fonts that can display the characters used.

      1 Reply Last reply Reply Quote 1
      • A
        andrecool-68
        last edited by Aug 3, 2020, 1:50 PM

        To the above, I can advise you to open your file and check the correspondence of encodings (the file encoding and the meta encoding must be the same)

        Безымянный.png

        1 Reply Last reply Reply Quote 1
        • A
          andrecool-68
          last edited by Aug 3, 2020, 1:54 PM

          The “utf-8” encoding supports Hebrew well))

          1 Reply Last reply Reply Quote 0
          2 out of 4
          • First post
            2/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors