Skip to content

run in batch mode #3

Open
Open

Description

@asmwarrior

For a reference, this tool: https://github.com/amrali-eg/EncodingChecker

I hope your tool can scan the folder and recursive to its sub-folders, and find the source files(by masks, such as *.cpp and *.h), and detect the source code encoding, and change the encoding if its encoding is not the output encoding.

By this way, we can scan a project, and see which file has wrong encoding, and fix those files.

Thanks.

Activity

  1. gonejack commented on Jul 22, 2022

    @gonejack
    Owner

    Hi, @asmwarrior

    This tool should be simple and tiny, for directory walking you could do a combination with find that looks like https://unix.stackexchange.com/questions/12902/how-to-run-find-exec

  2. asmwarrior commented on Jul 22, 2022

    @asmwarrior
    Author

    Hi, thanks for the reply.

    When looking at this document: Find - Search for text - Windows CMD - SS64.com

    It looks like Find command does not support wildcard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions