Is there any idea on how to get the encoding of an XML file (usually in the first line)? Using an import mapping doesn't work because the first line e.g. is not applicable for a mapping. I want to know the encoding beforehand for using String to file java action, which asks for an encoding. So I can't use String to file either because to get the encoding from this action I need to apply the correct encoding first.
↧