Added extra bit for detecting encoding in uploaded file, but does not detect correct encoding 100% of time, so the current change should work well with other exsisting encoding check.
Added extra bit for detecting encoding in uploaded file, but does not detect correct encoding 100% of time, so the current change should work well with other exsisting encoding check.

Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub