I am working on an Unreal Engine 5 project where I need to parse binary files. These files contain text encoded in Shift-JIS, as opposed to UTF-8 encoding. My goal is to convert a byte array from this binary file into an FString, but specifically interpreted using Shift-JIS encoding.
I’ve been searching around the web for a potential solution, but haven’t seemed to find anything that addresses this specific issue. Ideally, I am looking for a function or method in Unreal C++ that can decode the byte array using Shift-JIS encoding, and convert it to an FString.
Does Unreal have built-in support for this kind of conversion? Or if not, are there any third-party libraries or custom solutions I could use otherwise to achieve this functionality?
If it helps anything, I am very flexible on how the function could work, so long as I have a correct FString representation of the string in the end, too. I have no specific requirements other than achieving the conversion.