Mit Fileread:
[autoit]
Global $decoded, $string, $array, $i, $file
$file = FileOpen(@ScriptDir & "\ansii.txt", 0)
While 1
$string &= FileReadLine($file)
If @error = -1 Then ExitLoop
Wend
FileClose($file)
$array = StringRegExp($string, "\d+", 3)
For $i = 0 To UBound($array) - 2
$decoded &= $array[$i] & ", "
Next
$decoded &= $array[UBound($array) - 1]
$file = FileOpen(@ScriptDir & "\ansii_converted.txt", 1)
FileWrite($file, $decoded)
FileClose($file)
MsgBox(0, "Test", $decoded)
Gruß,
UEZ