You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ZK <st...@gmail.com> on 2012/07/20 11:44:51 UTC

Foriegn characters

Hi,
I am having an issue rendering foriegn characters within a jmeter HTTP
response (for a json call):

If I have a response which contains foriegn characters such as:
Jürgens        (umlaut 'u')

the response is = Jürgens


Is there a way to render these characters correctly?

Do I have to set a particular 'header'?


Regards,
ZK



--
View this message in context: http://jmeter.512774.n5.nabble.com/Foriegn-characters-tp5714079.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Foriegn characters

Posted by ZK <st...@gmail.com>.
FYI,
I fixed 'my' issue with a BSH post processor and this line of code:

prev.setDataEncoding("UTF-8");



ZK



--
View this message in context: http://jmeter.512774.n5.nabble.com/Foriegn-characters-tp5714079p5714151.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Foriegn characters

Posted by ZK <st...@gmail.com>.
Thanks Sebb


ZK



--
View this message in context: http://jmeter.512774.n5.nabble.com/Foriegn-characters-tp5714079p5714088.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Foriegn characters

Posted by sebb <se...@gmail.com>.
On 20 July 2012 10:44, ZK <st...@gmail.com> wrote:
> Hi,
> I am having an issue rendering foriegn characters within a jmeter HTTP
> response (for a json call):
>
> If I have a response which contains foriegn characters such as:
> Jürgens        (umlaut 'u')
>
> the response is = Jürgens
>
>
> Is there a way to render these characters correctly?
>
> Do I have to set a particular 'header'?

jmeter.properties has the entry:

# The encoding to be used if none is provided (default ISO-8859-1)
#sampleresult.default.encoding=ISO-8859-1

HTTP responses are ISO-8859-1 by default, so if the response is in
UTF-8, then the response should indicate that.

>
> Regards,
> ZK
>
>
>
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/Foriegn-characters-tp5714079.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org