Is there a strings command for utf-8?

The linux strings command searches for ASCII strings in a binary file. Are there any command line tools for displaying UTF-8 strings in a binary file?

+6
source share
1 answer

The strings command supports the --encoding option. Check the man page .

But, however, I was unable to extract the UTF-8 strings using any possible parameter value. Currently looking for their mailing list. I will update it if I find additional help

Update: strings --encoding=S should work for UTF8! See comment @ 12431234123412341234123.

+3
source

Source: https://habr.com/ru/post/1489715/


All Articles