Therefore I had a try with a workaround.
Feel free to tweak it :wink:
#SingleInstance SetBatchLines, -1 Loop, Read, My.html, MyConverted.txt { Line = %A_LoopReadLine% If Line = ; Skip empty line Continue Loop { IfInString, Line, ; Section to convert identified HTML chars { StringGetPos, Pos, Line, ; Get position of the HTML char Pos += 3 StringMid, Val, Line, %Pos%, 4 StringGetPos, ValLen, Val, `; StringMid, Val, Val, 1, %ValLen% ; Extract its value Transform, ASCII, Chr, %Val% ; Convert/transform its value to an ASCII char StringReplace, Line, Line, %Val%`;, %ASCII% ; Replace the HTML char with its ASCII char } Else { Break ; Nothing to convert/transform, keep original line } } FileAppend, %Line%`n ; Write the converted line to the outputfile } ExitApp
8)