(39) 's Extra Blueprint Nodes for You as a Plugin, No C++ Required!

[QUOTE=dabulina;454436]
Hi, i found problem in “Load String Array from file”. Patch cant read string if there is characters inside like āšģķīļūņžē e.c.
Is there any way how to fix that?
=sFyLarNly44[/QUOTE]

Hi there, thanks for the video! Explains the very clearly :slight_smile:

Under the hood I am using Epic’s function:

FFileHelper::LoadANSITextFileToStrings

I presume the characters you are entering are not getting converted correctly within function.

I could try using a different function, which seems like it would support your character set better:



/**
	 * Load a text file to an FString.
	 * Supports  combination of ANSI/Unicode files and platforms.
	 * @param Result string representation of the loaded file
	 * @param Filename name of the file to load
	 * @param VerifyFlags flags controlling the hash verification behavior ( see EHashOptions )
	 */
	static bool LoadFileToString( FString& Result, const TCHAR* Filename, uint32 VerifyFlags=0 );


However it only loads to a single string, I would need to parse the file myself into an array.

I can work on doing at my next availability :slight_smile: