0

In Japanese and Korean they use different directory separator characters, respectively ¥ and ₩. How do you handle this in a C# application ?

For instance, my application checks if a particular directory exists : "Binaries/Win64", but that doesn't seem to work on korean systems, and I suspect the issue comes from that directory separator character.

Should I change all paths to reflect this, for example : $"Binaries{Path.DirectorySeparatorCharacter}Win64", or is there a better way ?

My app also run the command line program unrealpaktool, which uses a text file containing paths of files to include in the resulting pak. Should this file also use culture specific directory separators ?

davcha
  • 111
  • 1
  • 2

0 Answers0