[Geany-Users] extended characters
Matthew Brush
mbrush at xxxxx
Fri Jan 15 21:16:35 UTC 2021
On 2021-01-15 8:14 a.m., Ray Andrews wrote:
> All:
>
> I can enter UTF-8 characters using the ever so easy to remember
> "CTRL+SHIFT+u ... four digits ... ENTER" method, but it won't save:
>
> "An error occurred while converting the file from UTF-8 in "ISO-8859-1".
> The file remains unsaved."
>
> Is there a solution? Actually I don't even need UTF, but I would like
> to add, say ASCII #127 or another ASCII extended character.
>
Hi,
Probably to best solution in 2021 is to just switch the file to use
UTF-8 (which should be the default IMO, even on Windows).
Per Document:
Document->Set Encoding->Unicode->Unicode (UTF-8)
Default:
Edit->Preferences->Files->Default Encoding
Then you can use the Ctrl+Shift+u method. UTF-8 overlaps with ASCII for
the first 127 characters. I believe all of the characters in all the
various "extended" ASCII codepages can be represented in Unicode as well.
If you must use ISO-8859-1 encoding, I don't know the answer since Geany
doesn't seem to support the Alt+<NumPadDigits> way that other apps like
Notepad support.
Regards,
Matthew Brush
More information about the Users
mailing list