hark130 / living_manual

LIVING MANUAL (LIMA) is a "dirty word" search utility written in Python3.
GNU General Public License v3.0
0 stars 0 forks source link

LIMA-11: Implement support for `--encoding all` #18

Open hark130 opened 1 year ago

hark130 commented 1 year ago

Blocked by #16 (which implements the --encoding command line argument. You should also probably wait for #17 (so you can better see the resulting output).

If #16 is done, LIMA support utf-8 and utf-16. That's it. It's common that utf-8 will catch a string that won't be caught by utf-16. However, there are edge cases in which utf-16 is necessary (without the "remove null" strategy 4 implemented in #16 ): see PE files.

Implement support for an encoding of all. If all is received, then loop through all supported encodings for all files. Leave utf-8 as the default encoding.