String construction of FName, FString, FText

Strings are stored same way in memory regardless how you set it everything is converted to that, also each of type are stored bit differently, and yes this also means those types was coded to handle those cases obviously.

You can read how UE4 handles text encoding here: