ImHex
                                
                                 ImHex copied to clipboard
                                
                                    ImHex copied to clipboard
                            
                            
                            
                        [Feature] utf-16 string search
What feature would you like to see?
The current string search assumes utf8 - an option to search for utf16 strings (and other encodings) would be very useful.
How will this feature be useful to you and others?
Quicker searching of utf16 strings (rather than finding all strings and then filtering)
Request Type
- [ ] I can provide a PoC for this feature or am willing to work on it myself and submit a PR
Additional context?
No response
Assign me I am willing to contribute @WerWolv :)
Please indeed consider other encodings as well, since e.g. Japanese games are notorious for sticking to SJIS to this day (see also #959).
Honestly at that point we should think about a better way of doing this. Maybe through the custom encodings? I really do not want to implement 5457542 different encodings in ImHex
Maybe through the custom encodings?
Yes, of course. Could be a choice between UTF8, UTF16, and the currently loaded custom encoding.
I tried making a custom encoding file for UTF16, but it didn't work out quite well, heh. I'd like to see someone succeed.
Got a basic implementation, still not perfect but it's something!
Added endianness and UTF8-16-32 search properly