| View previous topic :: View next topic |
| Author |
Message |
Kopilman
Joined: 25 May 2006 Posts: 162
|
| ovigo22, no, it'll transcribe it to the encoding specified. |
| |
|
|
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
|
| ovigo22, getBytes(String encoding) |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
| Kopilman, you're certain of that? |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| ovigo22, Yes. I am. |
| |
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
| ovigo22, .getBytes() without parameters switches to the system defaults |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
Ok
System default
But not the one used when creating the string |
| |
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
| In my case it seems to |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
Nope.
Well, it could be, it's just not guarenteed to be. |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
Right, which means it's not
It has no relevance, but could coincidentally be the same (obviously)
jomanda, you should look at the tomcat source code to see how it's encoding the strings
Maybe it's doing it incorrectly
Or differently than seems appropriate or correct |
| |
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
I think, that the chances are that i am doing something wrong
Btw. i am not able to enforce browser to specify iso-8859-2 on post |
| |
|
|
|