Community
    • Login

    \autoCompletion files: incorrect handling of utf8 encoding

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 367 Views 2 Watching
    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.
    • Nikita VN Offline
      Nikita V
      last edited by

      Hi.
      I’m using my custom XML for specific language with encoding=“UTF-8”. And want to use Cyrillic symbols for attribute’s values “descr” etc. So, the problem is that the Cyrillic characters are displayed incorrectly when the input prompt is triggered. How to fix this, or maybe it will be corrected in future verisions?
      Thank you.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Nikita V
        last edited by PeterJones

        @Nikita-V ,

        Because of the way Notepad++ was coded, you currently have to use &-entities in autoCompletion\_____.xml in order to get non-ASCII to show in the auto-completion popups

        		<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
        		<KeyWord name="a&#x0410;&#x0411;&#x0412;&#x0413;" />
        		<KeyWord name="e&#x0414;&#x0415;&#x0416;&#x0417;" />
        		<KeyWord name="abs" func="yes"><Overload retVal="" descr="absolute value function: &#x041C;&#x041D;&#x041E;&#x041F;"><Param name="VALUE" /></Overload><Overload retVal="" descr="absolute value function"><Param name="" /></Overload></KeyWord>
        

        6bfc2aac-8825-4619-bd7f-26f5d2134ea8-image.png
        4975881d-3913-40f4-b331-cb59a3f4990c-image.png

        1 Reply Last reply Reply Quote 2

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors