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.
- The more users report an issue the higher becomes the priority for fixing it.
- 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:
- 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.
- Click on the button + on left side, enter Test as template name and following as content: ±100 °C & ±20 °C
- 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 & ±20 °C
But there is inserted:
±100 °C & ±20 °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">±100 °C & &#xB1;20 &#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