Characters not rendering correctly... Topic is solved

The popular SciTE-based AutoHotkey Script Editor
User avatar
kunkel321
Posts: 1161
Joined: 30 Nov 2015, 21:19

Characters not rendering correctly...

30 Jun 2023, 13:26

Like in the below screenshot. Any idea what might be wrong?

Am using Win 10 and
SciTE4AutoHotkey
Version 3.1.00 SciTE:5.2.2 Scintilla:5.2.2 Lexilla:5.1.6
Built on May 2 2022 14:12:35

Image
ste(phen|ve) kunkel
User avatar
kunkel321
Posts: 1161
Joined: 30 Nov 2015, 21:19

Re: Characters not rendering correctly...

14 Jul 2023, 11:49

More strangeness on this topic:

Based on an idea I got here:
viewtopic.php?f=76&t=119308&p=529426#p529407

I decided to change the encoding of the file, to see if that would help with displaying those characters correctly. Instead of helping, it made it worse. I changed it to UTF-8 with BOM. Upon resaving, I got this error

---------------------------
MasterScript.ahk
---------------------------
Error at line 1783.

Line Text: cinema verite::cin? v?t?::cinemas verite::cin?s v?t?::cinema verites
Error: Hotstring max abbreviation length is 40.

The script was not reloaded; the old version will remain in effect.
---------------------------
OK
---------------------------

You can see in the message (and the screenshot that the abbreviation does not exceed 40 chars. Also notice that the error message indicates the wrong line number. The line number thing is not new though.. I've seen that before a few times with SciTE.

Image

Anyway, I changed the encoding back to "Code Page Property" and now it saves correctly again.
ste(phen|ve) kunkel
User avatar
kunkel321
Posts: 1161
Joined: 30 Nov 2015, 21:19

Re: Characters not rendering correctly...  Topic is solved

17 Jul 2023, 11:22

I found the solution for this (I think). Tools menu --> SciTE4AHK Settings --> Encoding. Changing it to system default seems to allow the characters with diacritics to display properly. It is strange that this worked, given my previous reply, where changing the encoding didn't help. Oh well.

Image
ste(phen|ve) kunkel

Return to “SciTE4AutoHotkey”

Who is online

Users browsing this forum: No registered users and 8 guests