Tapatalk

Insert template command does not insert symbols correctly with UE 2024.1.0.36

Insert template command does not insert symbols correctly with UE 2024.1.0.36

3
NewbieNewbie
3

    20:52 - Oct 02#1

    The symbol ° is not inserted correctly.
    The symbol encoded as ° in the template file should be inserted as ° (degree symbol) but no conversion happens when the template is inserted into the file.
    This happened after updating to 64-bit UltraEdit 2024.1.0.36 on 64-bit Windows 10 Professional.

    The template is:

    Code: Select all

    <p class=date2><em class=d1>[DATE_USER]MM-dd[DATE_USER_END]</em><b class=dd>[DATE_USER]ddd[DATE_USER_END]</b>^&#xB0; sunny, high</p>
    <p class=info>
      Time up: sleep:<br>
      <b class=t2>Exercise</b>:<br><br>
    </p>

      23:30 - Oct 04#2

      I have looked a little more into this. I created another template, may be clearer.
      It appears that the symbols are present when I edit the template.
      But when the template is saved, the symbols are converted to the hex representation.
      I have attached two screenshots.
      Modify template - before save.png (31.27KiB)
      Modify template before saving the template
      Modify template - after save.png (30.13KiB)
      Modify template after saving the template

        21:22 - Oct 05#3

        Looks like this version (UltraEdit 2024.1.0.36 64-bit) of UE has created a new template file - UETMPLTE.TPL
        I created a new template file Balanced-TT1
        I was able to edit this file outside of the template application and include some symbols.
        After the external edit the template insert process inserted the symbols correctly.
        I am thinking the erroneous conversion takes place when the template is saved in the UE template process.

        6,685587
        Grand MasterGrand Master
        6,685587

          10:21 - Oct 06#4

          I could reproduce this issue with UltraEdit 2024.1.0.36. It is a template load issue, not a template save issue. I strongly recommend reporting this issue by email to UltraEdit support.

          I usually do not report issues detected by other users and reported in a user to user forum if I an issue does not bother me in my usage of UltraEdit and UEStudio. But I made an exception in this case and have sent some minutes ago following issue report to support of UltraEdit, Inc. by email. I encourage you reporting the issue by yourself by email to UltraEdit support for two reasons.
          1. The more users report an issue the higher becomes the priority for fixing it.
          2. You will be informed perhaps in future by UltraEdit support if a fix is available and will be asked for testing the fix and reporting back the test results.
          Here is my issue report with subject: Templates with non-ASCII characters stored with entities in template file are loaded wrong

          Dear UltraEdit support,

          I want to report an issue detected and reported by a forum member, see the forum topic: https://forums.ultraedit.com/viewtopic.php?f=2&t=19585

          UltraEdit/UEStudio v2024.1.0.36 on Windows 11 23H2 loads wrong on startup templates with non-ASCII characters stored in the template file with entities by UE/UES and inserts therefore those templates wrong into a file. This issue does not exist with v2024.1.0.32 or former versions of UE/UES.

          Steps to reproduce:
          1. Start UltraEdit, select the third ribbon tab Edit, click in the fifth group Insert on down arrow of second item Insert template and click on first popup menu item Modify templates.
          2. Click on the button + on left side, enter Test as template name and following as content: ±100 °C & &#xB1;20 &#xB0;C
          3. Press the button OK and insert the template Test into a new file by typing test and hitting key RETURN on template suggested for insert.
          There should be inserted: ±100 °C & &#xB1;20 &#xB0;C
          But there is inserted: &#xB1;100 &#xB0;C & &#xB1;20 &#xB0;C

          UltraEdit v2024.1.0.36 saved the template into the file %APPDATA%\IDMComp\UltraEdit\templates\UETMPLTE.TPL like UltraEdit v2024.1.0.32 with the XML data:

          Code: Select all

          <?xml version="1.0"?> <Templates encode="utf8escenc"><Template Name="Test" Description="" Comments="0" Strings="0">&#xB1;100 &#xB0;C &amp; &amp;#xB1;20 &amp;#xB0;C</Template></Templates>
          There is no difference on template save between build 36 and build 32 of version 2024.1.0. But the entities for the characters ± and ° are not converted back to characters on load by UltraEdit v2024.1.0.36 as it is done by UltraEdit v2024.1.0.32 on Windows 11 and also by v2024.0.0.44 on Windows 7. The template is inserted correct into the active file by v2024.0.0.44 on Windows 7.

          I made the same test also with UltraEdit v22.20.0.49 (last one compatible with Windows XP) on Windows 7 and the storage of the template in the file UETMPLTE.TPL and the insert of the template is the same as with all later released UltraEdit versions up to v2024.1.0.32.

          The wrong loading of the template contents exists for that reason only in UE/UES v2024.1.0.36.

          Best regards, Mofi
          Best regards from an UC/UE/UES for Windows user from Austria