We are on K2 5.4 (FP 38). We are using 'FileType filed' to read documents from the Database. File is not loading if file name contains &. for example - <file><name>Meetings&- Broadcast.xlsx</name>. UI (Smartform) is giving the error "An error occurred while parsing the entity'.
The "&" character is a limitation of the SmartObject creation due to how the system parses the string. While this doesn't specifically go over files, I believe it will fall under the same limitation.
It looks like the best option is to setup some validation/logic to check for any file names with special characters.