Fixed issue with length of UTF8 strings (see https://github.com/medea/medea/issues/48)