How to check international filepath symbols on correctness?

  c++, filepath, utf-32

In my c++ linux application I load a file with file list.
Every single line is a full path to some file (utf32) and can have international symbols.

Is there a way check these lines for character correctness? Maybe some library?
Need to avoid emoji or symbols like that.

These files are outside, so I cannot check each of them for availability.

Thanks in advance.

Source: Windows Questions C++