Hi,
I'm trying to send a request via http having one of the parameters encoded using URLEncoder with characterset UTF-8.
The encoding works and when i see the system output on the java console the string is encoded! The funny thing is that on one pc it works as it should and on the other the encoding is totally wrong!
bold = extra characters being shown!!
Any ideas on what can be wrong?
Thanks
Nick
I'm trying to send a request via http having one of the parameters encoded using URLEncoder with characterset UTF-8.
The encoding works and when i see the system output on the java console the string is encoded! The funny thing is that on one pc it works as it should and on the other the encoding is totally wrong!
Code:
correct encoding on PC #1: T5GNzCPm7jTv34UyxkOdwg%3D%3D
incorrect encoding on PC #2:T5GNzCPm7jTv34UyxkOdwg%[b]25[/b]3D%[b]25[/b]3D
bold = extra characters being shown!!
Any ideas on what can be wrong?
Thanks
Nick