I have a huge XML file whose data samples look like this:
<vendor name="aglaia"><br>
<vendorOUI oui="000B91" description="Aglaia Gesellschaft für Bildverarbeitung ud Kommunikation m" /><br>
</vendor><br>
<vendor name="ag"><br>
<vendorOUI oui="0024A9" description="Ag Leader Technology" /><br>
</vendor><br>
since you can see that there is a text "Gesellschaft für Bildverarbeitung" that does not comply with UTF-8, because I get errors from xml validation, errors like:
Import failed:
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
So the query is how to take care of this in a Linux environment in order to convert the XML file to UTF-8 format? or is there a way in bash, so when creating xml in the first place, I can guarantee that all variables / lines are stored in UTF-8 format?