You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix FDirectoryWatchRequestLinux::ProcessChanges() to handle UTF8 filenames
ANSI_TO_TCHAR should be UTF8_TO_TCHAR for event name #fyi Brandon.Schaefer #jira UE-50360 #rb none [CL 17452991 by Michael Sartain in ue5-main branch]
This commit is contained in:
@@ -264,7 +264,7 @@ void FDirectoryWatchRequestLinux::ProcessChanges()
|
||||
if (EventPathPtr)
|
||||
{
|
||||
FString EventPath = *EventPathPtr; // get a copy since we can mutate WatchDescriptorToPaths
|
||||
FString AffectedFile = EventPath / ANSI_TO_TCHAR(Event->name); // by default, some events report about the file itself
|
||||
FString AffectedFile = EventPath / UTF8_TO_TCHAR(Event->name); // by default, some events report about the file itself
|
||||
|
||||
if ((Event->mask & IN_CREATE) || (Event->mask & IN_MOVED_TO))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user