How to avoid encoding problem after packaging shooter game?

in my shooter game project menu I’m using Arabic characters (by changing the C++ corresponding file ).
If I launch the project by following the steps : right click on “.uproject” file → launch game
everything goes right and the menu looks like …

but after packaging my project and then opening the “ShooterGame.exe” file the arabic characters in the menu appear not well encoded as below

Note that :

  • trying to change the C++ file encoding into UTF-8 and windows-1256 and many other encoding types did not work
  • externalizing the arabic characters into the “game.ini” file did not also slove the problem

using localization solve this problem Localization-Dashboard-preview-and-explanation-of-UE4-s-text-localization-process