Nп/п : 69 из 100
 От   : Alexey Fayans                       2:5030/1997       07 сен 26 09:42:45
 К    : All                                                   07 сен 26 10:01:02
 Тема : recode
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:5030/1997@fidonet 6a9e6058
@CHRS: CP866 2
@TZUTC: 0300
@TID: FastEcho 1.46.1 43272
Hello All!

 Запилил утилитку, которая перекодирует сообщения прямо в базе и
меняет кладж CHRS в соответствии с новой кодировкой. Перед тем, как что-то
сохранять в базу, показывает, что получилось, и спрашивает разрешения (можно
ответить, чтобы больше не спрашивала). Поддерживаются базы JAM/Squish/Msg. Я
тестировал как мог и проблем не обнаружил, но всё равно рекомендую делать
бэкапы баз на всякий случай. ;)

=== Start of Windows Clipboard ===
Fido message base character set recoding tool

Usage:
  recode.exe    [search_charset |
msg_number]

Parameters:
         Message base specification
     Source character set
       Destination character set
  [search_charset] Optional character set to match in CHRS kludge
  [msg_number]     Optional specific message number to recode

Base Specification format:
  
  Where Letter is:
    J - JAM
    S - Squish
    F, M, * - MSG / Opus

Note:
  This tool operates interactively with manual confirmation. A preview
  of the decoded message is shown on screen before writing to base.
  It is recommended to recode to your console character set (e.g., CP866)
  so the preview is readable, or do so at your own risk.

Examples:
  recode.exe Jc:\fido\\msgbase\\jam
uftndev UTF-8 CP866
  recode.exe Sc:\fido\\msgbase\\squish\fn_sysop UTF-8 CP850
  recode.exe Mc:\fido\\msgbase\\msg
etmail KOI8-R CP866 KOI
    (recode messages with incorrect CHRS kludge: KOI instead of KOI8-R)
  recode.exe Jc:\fido\\msgbase\\jam\\su_chainik CP866 CP866 ASCII
    (just replace incorrect CHRS kludge: ASCII -> CP866)
  recode.exe Sc:\fido\\msgbase\\squish
u_linux KOI8-R CP866 666
    (recode message #666 even if it has no CHRS kludge)
=== End of Windows Clipboard ===

Забирать с гитхаба: https://github.com/shadowlmd/mbtool
Бинарники под винду: https://github.com/shadowlmd/mbtool/releases/tag/latest


... Music Station BBS | https://bbs.bsrealm.net | telnet://bbs.bsrealm.net
--- GoldED+/W32-MSVC 1.1.5-b20180707
 * Origin: Music Station | https://ms.bsrealm.net (2:5030/1997)
SEEN-BY: 50/22 700 201/127 203/910 382/736 469/122
5001/100 5015/46 5020/290
SEEN-BY: 5020/570 715 806 837 921 1146 4441 9696
5022/2 5023/12 24 5030/1081
SEEN-BY: 5030/1997 5034/13 5051/44 5057/19 5059/38
5061/15 5075/128 6035/3
@PATH: 5030/1997 5023/24 5020/715



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх