Is there 'strings' command for utf-8? [closed] - string

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
The linux command strings looks for ASCII strings in a binary file.
Are there any command line tools to show UTF-8 strings in a binary file?

The strings command supports the --encoding option. Check the man page.
But however, I failed to extract UTF-8 strings using any possible option value. Currently searching their mailing list. will update this if I find more help

Related

Format string when translating from Excel to xml [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I add headers and footers to my Excel file. Rename the file to zip format and pull out the first sheet(xl/worksheets/sheet1.xml), then I see this line <oddHeader>&C&"Britannic Bold,bold italics"&U&KFF0000"mytext"</oddHeader>
Where can I find documentation on how this string is formed, what parameters are allowed, etc?
Microsoft has documentation for the XML spreadsheet format
For your specific question, the OddHeader class is documented here.

How can I get a list of all open named pipes in linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Is there a easy way to list all open named pipes on linux? O a bash command to show all open named pipes?
An option: you can use the lsof command line tool: https://www.simplehelp.net/2010/04/09/how-to-get-a-list-of-open-files-sockets-and-pipes-in-linux/

When doing sftp from windows server to linux server, junk characters like "��" are coming inside the file. How to prevent or remove these? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
When doing sftp from windows server to linux server, junk characters like "��" are coming inside the file. How to prevent or remove these?
Problem:
��01|I
Result Expected:
01|I
Converted the file to ASCII and it fixed the issue.
iconv -f UTF-16 -t ASCII output.txt -o output.txt

Use file command to get the correct type for an incomplete file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Suppose I just don't have the whole file, I just download the first part and it contains all the file signature/magic bytes. Can I use file command in Linux to get its type? I think this command detect the file signature at the beginning, but I am not sure if they have more validation of the rest of the files.
file(1) will look by default at the first 1Mb of the file.
If you're using it as a library (libmagic) from your own program, you can change that with magic_setparam(MAGIC_PARAM_BYTES_MAX), see its manpage.

PDF to text (multiple pages) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
How to extract text from a PDF with multiple pages? I need to get each page as separated text strings
Page 1 as one string, page 2 as another string etc
Is it possible with pdftotext or any other tool?
I need a Linux command line tool
The easiest way would be to use the already named pdftotext tool, which can be installed by running sudo apt-get install poppler-utils. After that you can simply run pdftotext /link/to/input.pdf /link/to/output.txt.

Resources