Community
    • Login

    Cannot get to properly change encoding

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 3.8k 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.
    • Marcos SzeinukM
      Marcos Szeinuk
      last edited by

      Hi
      I have a document supposedly in UTF-8 with Hebrew characters that I want to process in other windows applications.

      I get to see the Hebrew by choosing “Encode in UTF-8” but some characters do not display properly. It seems some specific letters are not converted.
      When I “Convert to Ansi” I get a wrong conversion for these characters.

      Your help will be appreciated.
      Marcos

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Marcos Szeinuk
        last edited by

        @Marcos-Szeinuk

        I assume that the font used in npp isn’t able to show all symbols.
        Try a different one.
        Settings->Style Configurator->Global Styles (either Default style or global override)->change font

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • gstaviG
          gstavi
          last edited by

          Hebrew and ANSI don’t mix.

          Assuming your document is indeed UTF-8 you should:

          1. Open it with NPP. Make sure Hebrew letters show. Make sure NPP shows UTF-8 in status bar.
          2. Convert to UCS-2 Little Endian which is the most common unicode encoding for Windows since this is what Windows uses internally. So hopefully your target app can use it. Otherwise learn what your target app expect. If it is an old DOS-days/non-unicode app you would need one of the Character Sets --> Hebrew --> … encodings
          3. Save as the name you want.
          1 Reply Last reply Reply Quote 0
          • Marcos SzeinukM
            Marcos Szeinuk
            last edited by

            Claudia and gstavi - Thanks for your answers

            Finally I managed a workaround by saving fist the utf-8 data file as .xls (which I could), opening excel and saving as .csv and then open in npp and “convert to ansi” - other ways exchanged some letters - but somehow this worked with no missing or exchanged letters.

            Thanks again
            Marcos

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