joeybear
15 years agoContributor
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.
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.