Community
    • Login

    \autoCompletion files: incorrect handling of utf8 encoding

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 178 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.
    • Nikita VN
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors