AntonyD wrote: 2023-11-19, 14:32 UTCWell, I got to ask - will you manage to separate UTF16 LE and UTF-32 LE recognition?
Yes, of course. That's one of the reasons.
Considering that piece of C++ code I suggested you try?
I was aware how to detect UTF-32 before. The code path is different because the bytes are read in one step within the same function, i.e. each file is opened and closed only once, but the result is the same.
Fla$her wrote: 2023-11-19, 14:55 UTCAnd why is there "None"? It's better to return an empty string.
You can't search for an empty plugin field in TC's search function.
Your answer only added confusion.
If you're referring to the original statement, petermad understood it alright. Sometimes sentences must be read as a whole to get the context.
You yourself rejected my question about simplicity and speed.
I chose to not answer it because I explained my reasons extensively now.
Regards
Dalai