When reviewing code for
OO-4570 I found the same missing encoding issue on several other mappers. This issue is about checking those cases if the enconding can be added there savely or not.
See media resources. The character encoding must be set using the setCharacterEncoding or together with the content type.
The problem is probably only visible for resources opened in new windows, but I am unsure about this. We should check if the problem is also relevant for other locations where the encoding is not explicitly written.