sabelstrom wrote:Can not save it as ANSI, it tells me the file uses symbols in Unicode-format and all those symbols will be lost if saving as ANSI. Didnt work when i saved any way, tried to save as unicode and UTF-8, didnt work when i ran the file.
You can save this file in ANSI using windows notepad:
Just Select "OK." and ignore that message.
(It is a liitle bit tricky, if you open the file with bom under Windows 10, because it autoconverts this file to utf-8 (well it does on my pc), so you have to add it every time you change the file).
But, it seems the bom is not shown in my post anyway (using Internet Explorer 11.187...), so:
Thanks to aGerman for the zipfile.
Edit: But the bom is stored using utf-8, so you have to open it in windows default notepad, and select "Save as", change the encoding to ANSI, and select "OK." on the "encoding warning dialogue".
This should happen:
Code: Select all
Z:\>chcp
Aktive Codepage: 850.
Z:\>create_nfo_penpen.bat
process: "create_nfo_penpen" "C:\Users\Kidutus\Downloads\create_nfo_penpen\create_nfo_penpen"
process: "Neues å Å ä Ä ö Ö é Textdokument.txt" "C:\Users\Kidutus\Downloads\create_nfo_penpen\Neues å Å ä Ä ö Ö é Textdokument.txt"
Drücken Sie eine beliebige Taste . . .
If your initial Codepage - 850 on my pc - difffers, you may change the Environment variable "cp" to "850" (instead of the default value of "%restoreCp%");
although that should be no issue because internally the filenames are stored using UCS2 (a superset of UTF-16); maybe except if you are using a file system other than ntfs:
For example fat32, ext2, ... .
penpen