• Login
Community
  • Login

Foreign characters (Cyrillic) issue

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 416 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.
  • J
    Jim Julian
    last edited by Jun 28, 2023, 7:43 PM

    Sometimes I use text from foreign languages in the original language. Most of the time that is not a problem.
    However, today, I decided to address the issue.
    The following should be self-explanatory:

    Notepad++
    Three Plus Two (1963).??? ??? ??? [281574836933].srt

    Windows File Explorer
    Three Plus Two (1963).Три плюс Два [281574836933]

    Windows MS-DOS dir, copy, paste
    Three Plus Two (1963).Три плюс Два [281574836933].mkv

    The status bar indicates UTF-8.
    I changed the font to Consolas with no change.

    P J 2 Replies Last reply Jun 28, 2023, 9:00 PM Reply Quote 0
    • P
      PeterJones @Jim Julian
      last edited by PeterJones Jun 28, 2023, 9:05 PM Jun 28, 2023, 9:00 PM

      @Jim-Julian said in Foreign characters (Cyrillic) issue:

      Three Plus Two (1963).Три плюс Два [281574836933]

      Are you sure you didn’t paste in that text when it was ANSI, and then switch to UTF-8? Because that text works for me:

      4d2ee97e-deb0-4562-9f8b-fbd396ce987d-image.png

      … because the ? occurs when you paste a character into a document with an encoding that doesn’t have a codepoint for that character:

      db6e402d-9be3-4e61-95d2-533862d6ba67-image.png

      … whereas an empty box shows up if you have the right encoding, but the font doesn’t have a glyph for it:

      9dfc54d2-68a2-4f61-bff7-d6fc5619195a-image.png

      1 Reply Last reply Reply Quote 4
      • J
        Jim Julian @Jim Julian
        last edited by Jim Julian Jun 30, 2023, 4:27 AM Jun 30, 2023, 4:26 AM

        @Jim-Julian said in Foreign characters (Cyrillic) issue:

        Notepad++
        Three Plus Two (1963).??? ??? ??? [281574836933].srt
        Windows File Explorer
        Three Plus Two (1963).Три плюс Два [281574836933]
        Windows MS-DOS dir, copy, paste
        Three Plus Two (1963).Три плюс Два [281574836933].mkv
        The status bar indicates UTF-8.
        I changed the font to Consolas with no change.

        I examined the right side of the status bar: ‘UTF-8.’
        I copied my text from this web page and pasted into n++. Same problem, no change. The ‘UTF-8’ did not change, either.
        If you do not have the problem, there must be a difference in either the app settings or Windows’ settings.

        P 1 Reply Last reply Jun 30, 2023, 1:38 PM Reply Quote 0
        • P
          PeterJones @Jim Julian
          last edited by Jun 30, 2023, 1:38 PM

          @Jim-Julian ,

          I used a fresh portable notepad++ v8.5.4 for doing the tests, so I used with default settings (except when I changed the font to show the empty boxes instead of the cyrillic characters).

          But one thing you might want to try is making sure Settings > Preferences > MISC has "Use DirectWrite** checkmarked – that will often help people who have troubles displaying fonts.

          Also, paste a screenshot of your Settings > Preferences > New Document settings – maybe you’ve got something weird there.

          1 Reply Last reply Reply Quote 1
          • G
            gerdb42
            last edited by Jun 30, 2023, 2:10 PM

            And also paste the “Debug Info” as this might be a plugin issue.

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