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
Characters not rendering correctly... Topic is solved
Characters not rendering correctly...
name := "ste(phen|ve) kunkel"
Re: Characters not rendering correctly...
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.
Anyway, I changed the encoding back to "Code Page Property" and now it saves correctly again.
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.
Anyway, I changed the encoding back to "Code Page Property" and now it saves correctly again.
name := "ste(phen|ve) kunkel"
Re: Characters not rendering correctly... Topic is solved
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.
name := "ste(phen|ve) kunkel"
Who is online
Users browsing this forum: No registered users and 18 guests