This page put together miscellaneous topics.
We decided to use
FFileHelper::LoadFileToString to load files into
FString instances, which handles the following encodings:
- UTF8 without BOM
- UTF8 with BOM
- UTF16 LE with BOM
- UTF16 BE with BOM
If you can choose an encoding we recommend use UTF8 without BOM across the board. You can setup an
.editorconfigto enforce it.