forum.wfido.ru  

Вернуться   forum.wfido.ru > Прочие эхи > RU.FIDONET.DIGEST

Ответ
 
Опции темы Опции просмотра
  #1  
Старый 27.04.2020, 20:45
Vladimir Fyodorov
Guest
 
Сообщений: n/a
По умолчанию FIDONEWS: Настройка GoldEd для UTF-8

Vladimir Fyodorov написал(а) к All в Apr 20 14:51:06 по местному времени:


> Michiel van der Vlist (2:280/5555) решил озвучить варианты (которых всего
> два), как подружить GoldEd и кодировку UTF-8. В первой части инструкции
> (на английском языке) он описывает вариант, когда для написания писем
> используется внешний редактор.

=============================================================================
* Area : FIDONEWS
* From : FidoNews Robot, 2:2/2 (27 Апреля 2020 00:55)
* Subj : FidoNews 37:17 [02/08]: General Articles
=============================================================================
=================================================================
GENERAL ARTICLES
=================================================================

Training Golded to play UTF-8 Part 1
By Michiel van der Vlist, 2:280/5555


Golded has limited support for reading and writing messages in UTF-8.
There are two ways. One is using an external editor. The other way
is to use translation tables. As ever so often both methods have pros
and cons.


Using an external editor.
=========================


Golded has an option to use an external editor. Unfortunately this
can only be invoked when writing a message. So to just read a message
in utf-8 one has to "answer" it and when ready not save it.

Make a file gold8.cfg that is a copy of your golded.cfg with the
following statements: (replacing any with lines with the same
keywords.)


EDITOR <myutfeditor> @file
EDITORFILE GOLDED.MSG
XLATPATН d:\fido\golded\
XLATIMPORT UTF-8
XLATLOCALSET UTF-8
XLATEXPORT UTF-8
XLATCНARSET UTF-8 UTF-8 UTF_UTF.CНS

where <myutfeditor> is the UTF-8 capable editor of your choice. I use
the Windows version of Vi. An alternative for Windows is Notepad. For
Linux there is nano. Almost any UTF-8 editor will do and there is
plenty of choice.

UTF_UTF.CНS is a dummy translation table who's main purpose it to get
the '4' into the "CНRS: UTF-8 4" kludge line of the message.

You may have this file already. If not get it from my system by
file request or download http://www.vlist.eu/downloads/utf8_850.chs

Start golded with "golded -cgold8.cfg" or make a .bat file to that
effect.

When answering or creating a message select "External Editor" and
there you go...



To be continued...
=============================================================================

--- GoldED+/OSX 1.1.5-b20180707
Ответить с цитированием
Ответ


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 23:14. Часовой пояс GMT +4.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc. Перевод: zCarot