Hi,
In the main editor and in the build output windows, left and right single quotation marks
https://www.cogsci.ed.ac.uk/~richard/utf-8.cgi?input=2018&mode=hex and
https://www.cogsci.ed.ac.uk/~richard/utf-8.cgi?input=2019&mode=hex don't display correctly. Compare the output of my normal shell:
redacted.c:2331:56: error: expected ‘}’ before ‘;’ token
2331 | .clk_name = "aaaa_aaa_aaaa_aaaaa";
| ^
redacted.c:2317:66: note: to match this ‘{’
2317 | static const struct my_info aaaa_info = {
| ^
with SlickEdit 28 build output window:
redacted.c:2331:56: error: expected ?}? before ?;? token
2331 | .clk_name = "aaaa_aaa_aaaa_aaaaa";
| ^
redacted.c:2317:66: note: to match this ?{?
2317 | static const struct my_info aaaa_info = {
| ^
This is just standard GCC error output on Linux/Qt5.
$ echo -n ‘ | hexdump -C
00000000 e2 80 98 |...|
$ echo -n ’ | hexdump -C
00000000 e2 80 99 |...|
Note that source code windows have the same problem with those characters and the same ? are shown instead of the actual characters. I've cycled through all the monospaced fonts SlickEdit offers in Tools->Options->Appearance->Fonts for Unicode Source Windows to no avail.
Interestingly, the tool tip for the error displays them correctly when hovering over the error marker in the source code pane (but it's using a different, proportional font for those). I can copy/paste the text into my shell and it renders correctly, which makes it obvious that it's just a rendering / font issue in SE.
I've also tried to File->Reload with Encoding->'Auto Unicode Utf-8', which didn't help. Instead, it's impossible now to save the file, due to the following two errors / stack traces:
Slick-C STACK TRACE ******************************
Created on 12/5/2023 at 15:36:43 (283 ms)
SlickEdit Pro Version 28.0.0.6 Copyright 1988-2023 SlickEdit Inc.
Edit module and type "st -f <offset>" to get the
run-time error position
error code=-3015
Invalid argument
vsvcs.dll 0x0x1f49d00 DSCreateDelta(redacted.c,0,) p_window_id: 660 p_object: OI_EDITOR p_name:
saveload.ex 60 save_file(redacted.c,-O +DD -Z -ZR -E +SM +fenddefaults ,)
p_window_id: 660
p_object: OI_EDITOR
p_name:
files.ex 8747 save(,8,) p_window_id: 660 p_object: OI_EDITOR p_name:
and
Slick-C STACK TRACE ******************************
Created on 12/5/2023 at 15:39:16 (102 ms)
SlickEdit Pro Version 28.0.0.6 Copyright 1988-2023 SlickEdit Inc.
Edit module and type "st -f <offset>" to get the
run-time error position
error code=-3009
Invalid number argument
vsvcs.dll 0x0x1f49d00 DSCreateDelta(,0,0) p_window_id: 660 p_object: OI_EDITOR p_name:
It's also not possible to open that file anymore (nothing happens). I had to exit SlickEdit and remove the EncodingSetByUser="21" tag from ~/.slickedit/28.0.0/perfile.xml for this file to make it work again.