• Login
Community
  • Login

Encoding Options

Scheduled Pinned Locked Moved General Discussion
ucs 2encodingutf-8
3 Posts 2 Posters 1.9k 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.
  • R
    Richard Pack
    last edited by Apr 13, 2017, 10:38 PM

    Purely curious about this one, when would I use the other encoding options in Notepad++? Everything I seem to find says that UTF-8 is the standard, and other code editors I’ve looked at don’t seem to even provide the option to encode in UCS or similar encoding forms. Is there something I’m missing, or is the option there purely for personal preference?

    1 Reply Last reply Reply Quote 0
    • G
      gstavi
      last edited by Apr 13, 2017, 10:49 PM

      UTF-8 is very common and usually great but it is not THE standard. Especially for non-English text for which it is rather inefficient.

      So first reason to support multiple encodings is that if you need to open a file that is NOT UTF-8 Notepad++ need to realize that and use the correct encoding. it should also retain the original encoding (avoid converting it to UTF-8) unless the user requested it.

      2nd reason is that sometimes you edit something that is used as an input for another application that expect specific encoding. Windows apps may like UCS-2. Localized apps around the world may like the encoding that is efficient for their symbols.

      Nevertheless if you don’t require specific encoding utf-8 is the right default to use.

      1 Reply Last reply Reply Quote 0
      • R
        Richard Pack
        last edited by Apr 14, 2017, 4:20 PM

        That makes sense, thank you.

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