What a tangled web we've got with ANSI, UTF-8, HTML, TEXT and so on. I've been trying to get posts right and to work like: ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ Û Configuration Networking Servers Editors Other Exit Û ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Ûßßßßßßßßßßßßßßßßßßßßßßßßßßß System Paths ßßßßßßßßßßßßßßßßßßßßßßßßßßßßÜ
Û Û
Û System Path ³ /mystic/ Û ÜÜ Û Data File Path ³ /mystic/data/ Û²gj!
ÞÛÜÛ Log File Path ³ /mystic/logs/ ÛÛÜÜ
°ÛÛÛ Message Base Path ³ /mystic/msgs/ ÛÛÛ±þ ß ²ÛÛ File Attach Path ³ /mystic/attach/ ÛÛÛÝÞ ² ±²Û Semaphore Path ³ /mystic/semaphore/ Û²° ² ß Û°Û Menu File Path ³ /mystic/menus/ ÛÛ° ² °°²ÛÛ Text File Path ³ /mystic/text/ Û ÜÜÛ ÜÜþ Û Script Path ³ /mystic/scripts/ Û Ý°°
Û Inbound EchoMail ³ /mystic/echomail/in/ Û ßÜ
Û Unsecured ³ /mystic/echomail/in/unsecure/ Û
Û Outbound EchoMail ³ /mystic/echomail/out/fidonet/ Û
Û Local QWK ³ /mystic/localqwk/ Û
Û Û
ßÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
+++ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
There's the paths from Mystic Configuration in ANSI (.ans) format /u Upload to here. That works. I capture in UTF-8 and have to convert to ANSI. What I'm doing doesn't work every time, but does work most of the time.
On the Web you need UTF-8 not ANSI so you might need to convert the other way.
<head>
<TITLE>MysticSetup</TITLE>
<h1>Mystic Setup</h1>
<!DOCTYPE html>
<html lnag="en">
<meta charset="utf-8"/>
</head>
seems to be a working header for UTF-8 text, then <PRE> </PRE> before and after it to get spacing right. You can see it in action at:
http://bcw142.zapto.org/MysticSetup.html
It takes a fair amount of work, but it can be done. Notepad++ on Windows10, gedit and vi on Linux can do it with the right setups. To convert I'm using
a couple of python scripts:
#!/usr/bin/env python
#
https://gist.github.com/inky/471524
# u2c.py
import codecs, sys
try:
infile, outfile = sys.argv[1], sys.argv[2]
except IndexError:
sys.stderr.write('usage: %s input_file output_file\n' % sys.argv[0])
sys.exit(1)
nfo = codecs.open(infile, encoding='utf-8').read()
codecs.open(outfile, 'w', encoding='cp437').write(nfo) --------------------------------------------------------------------------- #!/usr/bin/env python
#
https://gist.github.com/inky/471524
# c2u.py
import codecs, sys
try:
infile, outfile = sys.argv[1], sys.argv[2]
except IndexError:
sys.stderr.write('usage: %s input_file output_file\n' % sys.argv[0])
sys.exit(1)
# switched utf-8 & cp437 to convert back
nfo = codecs.open(infile, encoding='cp437').read()
codecs.open(outfile, 'w', encoding='utf-8').write(nfo)
Now you all have the chance to make your own documentation ;) It can take
a lot of setup to get things to work, but they can work.
--- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
* Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)