TSE displaying UFT8 characters properly

35 views
Skip to first unread message

Daniel Terhell

unread,
Jun 4, 2026, 7:21:30 AM (9 days ago) Jun 4
to SemWare TSE Pro text editor
Hello group,
I have several versions of TSE installed. One version of TSE 4.40 that I have installed actually displays UTF8 accent characters properly. All other versions don't.

I would like to have this behavior with the latest version of TSE but I have forgotten what I have done to make this work. It could have been a macro (though probably not unicode.s),  or a setting. From what I recall this was only possible with g32.exe and not with e32.exe but unfortunately I have forgotten all the details.

Can anyone give me a hint on what I can do to have UTF8 character displayed properly ?

TIA

Carlo Hogeveen

unread,
Jun 4, 2026, 7:27:42 AM (9 days ago) Jun 4
to sem...@googlegroups.com

The only way to display UTF-8 in TSE is to install the
Unicode
Status
UniView
extensions from my website:
https://ecarlo.nl/tse/ToolsAndExtensions.html

Carlo



Daniel Terhell

unread,
Jun 5, 2026, 4:50:56 AM (8 days ago) Jun 5
to SemWare TSE Pro text editor
The problem that I am having is that the macro does not work on v4.50 but does work well on v4.40.

I am typing an á but what it shows is ß

I tried both v2.6 and 2.7. Do you have any suggestions ?

Thanks

Carlo Hogeveen

unread,
Jun 5, 2026, 5:30:03 AM (8 days ago) Jun 5
to sem...@googlegroups.com

> I am typing an á but what it shows is ß
> Do you have any suggestions ?

Sure.
Your example makes it very likely that the problem is that your font is "Terminal".
It is my bad, that in Uniview I only documented that I advise the Courier New font, and did not explicitly document that it is incompatible with the "Terminal" font.
Try changing your TSE font.
Feel free to ask further questions,

Carlo



Message has been deleted

Daniel Terhell

unread,
Jun 5, 2026, 5:49:06 AM (8 days ago) Jun 5
to SemWare TSE Pro text editor
I was using Consolas. Switching to Courier new does not fix the  problem.

However, I did not install uniview.s (only status.s and unicode.s). Do I need uniview as well ?

Carlo Hogeveen

unread,
Jun 5, 2026, 6:35:35 AM (8 days ago) Jun 5
to sem...@googlegroups.com

> I was using Consolas. Switching to Courier new does not fix the problem.
> However, I did not install uniview.s (only status.s and unicode.s). Do I need uniview as well ?

Not for the typing an "á" and seeing a "ß" problem.
GUI TSE (g32.exe) with a not-Terminal font should already show an "á" without any macro-help.
My next suspect would be an autoloaded macro that sets the current font's _FONT_OEM_ flag.
Try purging loaded macros until the problem disappears?
Possible macro culprits from my website are Ansi2OEM and OEMtoggle.

When you need the UniView extension:
When loading and saving a file that has UTF-8 encoded characters, the Unicode macro converts them to and from either code page 1252, which is GUI TSE's default for all fonts but Terminal, or a characters's Unicode code point (a number) quoted between characters 127.
Characters in code page 1252, like "á" are converted and shown as-is.
The quoted Unicode code points will be shown as one character when the UniView extension is installed.
For example, UniView will show 263A as a black-and-white ☺.
For reasons I will happily explain in extensive detail ☺ if someone wonders, UniView does not work for the current line unless the TSE buffer is in read-only mode.

Carlo



Reply all
Reply to author
Forward
0 new messages