My Windows Forms app displays a file path in a text-box. For our customers in Korea, this is shown as C:₩Users₩abc123₩my₩path instead of C:\Users\abc123\my\path. However, their command prompts, PowerShell instances, Windows Explorer versions etc. all show \ for the path separator.
I understand that I want to use UTF-8 as the character encoding; but I haven't set it explicitly anywhere in my code, so I presumed the encoding was UTF-8 by default.
I think I might need to do something like this but I'm not sure how to do it for Windows Forms where there doesn't seem to be an ActiveCodePage property.