how can i save the inside of [text] as plain ANSI not UTF-8 encoded?

11OLSEN's icon

the question says it all. i noticed it's UTF-8 because it adds
initial hex bytes EF BB BF to the saved file. i save text to a batch file
and if its not ANSI the dos command chcp 1252 doesn't work.
and as a result i can not work reliable with windows path and filenames.

could i do something with the filetype definition or with [filein] after saving?

regards,
O.

11OLSEN's icon

weird. today [text] is not adding the utf-8 tag to files. but it still saves in that format. i had now success using chcp 65001 in the dos command prompt. no more errors interpreting the saved text from [text].

ps: forget what i wrote about filein. i thought it can also write to files.