Skip to content

No frameworks found when using Powershell on Windows #4

Description

@stefsmeets

By default when running focus like:

focus foc.inp 100 > foc.out

the foc.out file will have encoding UTF-16, whereas fo2hist and all the other tools expects UTF-8. Python will assume UTF-8 (it is difficult to detect the encoding automatically), so that the text in the file will look scrambled, and no frameworks can be extracted.

It is easy to convert the file though in notepad.exe (or your favourite text editor). Open the output file (foc.out) in notepad, go to File > Save As… and select the encoding UTF-8.

An easier solution is to simply run focus in the Windows command prompt (cmd), which does not have this issue.

Save as UTF-8 in notepad

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions