added logic to try and autodetect string encoding before encoding to utf8
added logic to try and autodetect string encoding before encoding to utf8

juan-estrella-axomic/openasset-rest-client,juan-estrella-axomic/openasset-rest-client