Forum Discussion

joeybear's avatar
joeybear
Contributor
15 years ago

UTF-8 chars don't load from config correctly

REPRO: create a UTF-8 config file; create a properties test step, which loads the UTF-8 content (see inline image); attempt the load

RESULTS: UTF-8 characters don't load from config correctly:
Config content:
lastname=auto-L-ÁÉÍÓÚÑÜáéíóúñü¿¡ºª«»€
url=http://ÁÉÍÓÚÑÜáéíóúñü¿¡ºª«»€.utards.org
profileintro=automation profile ÁÉÍÓÚÑÜáéíóúñü¿¡ºª«»€-
pword=ÁÉÍÓÚÑÜáéíóúñü¿¡ºª«»€-pword-
pword2=ÁÉÍÓÚÑÜáéíóúñü¿¡ºª«»€-pword-
twitter=twitÁÉÍÓÚÑÜ-
uname=auto-U-ÁÉÍÓÚÑÜ
firstname=auto-F-ÁÉÍÓÚÑÜáéíóúñü¿¡ºª«»€
city=South JordanÁÉÍÓÚÑÜáéí

soapUI-Pro 3.6 config loaded values:


EXPECTED: all UTF-8 characters should be loaded correctly

WORK_AROUND: manually create and populate the variables and values in the properties test step

NOTES: I use a canned set of UTF-8 config files for each language of our i18n tests. This represents a significant effort to manually enter all the variables and values for each and every test.
  • Is there anybody out there? Is there anybodeeeeeyyyyy out there?
  • Hi!

    thanks for reporting! soapUI has no way of detecting the charset of the file currently, we'll have figure something out for you.. maybe a property on the Properties TestStep for setting the enncoding of the files?

    regards,

    /Ole
    eviware.com