• GoldEd and UTF-8

    From Carlos Navarro@2:341/234.1 to All on Sun Jan 1 21:25:54 2023
    Two articles about "Training Golded to play UTF-8" were published in the FidoNews in 2020, written by Michiel van der Vlist.

    In the second one (Volume 37, Number 18 - 04 May 2020) he explained a way to add partial, limited UTF-8 support to GoldEd+ without the need for an external editor. ( http://www.vlist.eu/downloads/fidonews/myarticles/goldutf2.art )

    This works if you use CP850 (e.g. Windows) and requires a couple translation tables that you can download from Michiel's website:

    http://www.vlist.eu/downloads/850_utf8.chs http://www.vlist.eu/downloads/utf8_850.chs

    (plus the corresponding XLAT* lines in GoldEd's configuration, as explained in the article)

    ...

    I have made some changes to the utf8_850.chs file, so that it has support for:

    - the inverted question mark (¿), instead of the lowercase 'y' with diaeresis (thanks Michiel ;-))
    - the lowercase 'a' with tilde (ã), instead of the British pound sign
    - the lowercase 'a' with ring above (å), instead of the Yen sign

    and thus have better support for more western European languages (Spanish, Portuguese, etc).

    If you're interested you can download it here: http://www.cyberiada.org/fido/files/utf8_850.chs

    Carlos

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: cyberiada point (2:341/234.1)
  • From Carlos Navarro@2:341/234.1 to All on Sun Jan 1 21:29:54 2023
    Two articles about "Training Golded to play UTF-8" were published in
    the FidoNews in 2020, written by Michiel van der Vlist.

    In the second one (Volume 37, Number 18 - 04 May 2020) he explained a
    way to add partial, limited UTF-8 support to GoldEd+ without the need
    for an external editor. ( http://www.vlist.eu/downloads/fidonews/myarticles/goldutf2.art )
    [...]

    Linux users may be interested in using these translation tables for iso-8859-1:

    http://www.cyberiada.org/fido/files/iso_utf8.chs http://www.cyberiada.org/fido/files/utf8_iso.chs

    (The first one is the same as iso1_u8.chs from GoldEd+ GitHub repo, but with a small change to have the correct level in the CHRS kludge. The second one is based on Michiel's utf8_850.chs, but with the translation codes for iso-8859-1 instead of codepage 850.)

    The XLAT* lines in GoldEd's configuration would be like:

    XLATLOCALSET LATIN-1
    XLATCHARSET LATIN-1 UTF-8 iso_utf8.chs
    XLATCHARSET UTF-8 LATIN-1 utf8_iso.chs

    You should set your terminal to iso-8859-1 before launching the editor.

    Carlos

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: cyberiada point (2:341/234.1)