ANSI and ASCII Editor file in pascal(or py)? lazarus / 65-FV-Textmode IDE ---------------------------------------------------------------------- d-_-b · 2020-04-12 20:13 Hi I wonder if there is any terminal wizard lurking on the forums? I have a artist using moebius ansi editor to create the picture you see on the left. But if i use the below pascal or attache python code in the pic my result is what you see on the right. What am i doing wrong? I'm using mobaxterm on win10 and stuff like cmatrix and pipes.sh renders correctly. So how must i change my pascal code to get the ansi like output of moebius? The medtricorder.ans file can be found here Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i program ansview; {$mode objfpc}{$H+} uses Process, SysUtils, Classes;var s: ansistring = '';  strs: TStringList;begin  strs := TStringList.Create;  try    strs.LoadFromFile('data/medtricorder.ans');    writeln(strs.text);    //if RunCommand('/bin/bash', ['-c', format('echo %s', [strs.text] ) ], s) then writeln(s)  finally    strs.free;  end;end. ---------------------------------------------------------------------- trev · 2020-04-13 01:31 Character set/codepage issue? See here which may be of help.