Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • Claudia SvensonC

      How to auto-convert text (Umlaute) when changing file encoding from ANSI to UTF-8 BOM?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      14
      0 Votes
      14 Posts
      1k Views
      CoisesC
      @Claudia-Svenson said: I would have expected from such a feature-rich tool like NP++ That I can mark/select just a part of the full text and convert it in-place to a new encoding (by a new menu or via smart via described earlier). All that without switching back and forth encoding and using clipboard. Probably there is no such tool included because this is a situation that should very, very rarely happen. One file normally contains one encoding — that applies everywhere, not just in Notepad++. (I believe there are some legacy exceptions for East Asian languages, but in those cases the encodings themselves include bytes that describe the encoding changes. To the best of my knowledge, Scintilla, and therefore Notepad++, does not support them.) If this is happening to you often enough to be a concern, I urge you to look earlier in your process. How are you winding up with files which contain characters in more than one encoding? As you can see from this demonstration, copying text from one encoding and pasting it into a document with a different encoding ordinarily converts the text to the encoding into which you paste it. So just copying and pasting from some other source should not cause this problem. I am not ruling out that there could be a bug, whether in Notepad++ or in some other program, that is causing you to get wrongly-encoded text in a file. If so, we should identify that bug. (Especially if it turns out to be in Notepad++, where possibly it could be fixed.) It is also possible that there is a step in whatever procedures you are following that predictably causes this, like concatenating two files with some other tool without first making sure the files have the same encoding, or using Edit | Paste Special | Copy/Cut/Paste Binary Content inappropriately. If someone else is supplying you with files that contain multiple encodings and you can’t prevail upon them to correct their procedures, then using a Python script, as @mpheath suggested, is probably the best solution.
    • R

      SnippetPlus v2.1 released. Snippets, SurroundWith and SurroundWith Multiline plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      1 Votes
      2 Posts
      125 Views
      rdipardoR
      If I can suggest one small improvement: take a look at this GitHub issue and apply the changes recommended there, mutatis mutandis, of course. Very few developers are aware that plugin panels can be automatically restored by the Notepad++ Docking Manager (which still lacks a completely documented API, unfortunately), but there’s always at least one user who notices that it’s not working as expected.
    • donhoD

      Notepad++ v8.9.7 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      4
      5 Votes
      4 Posts
      396 Views
      donhoD
      @sevem47 OK, I will increase the width from 40 to 45 for the new release. It will be sufficient largely for any scaling factor.
    • R

      Unable to open files within an opened file

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      3
      0 Votes
      2 Posts
      95 Views
      PeterJonesP
      @ReeceBonneyTT , Known issue. Already fixed in the v8.9.7 Release Candidate You can download and test from that post; if it doesn’t fix your problem, report it there.