
| Key: |
WW-414
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Jonas Eriksson
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Multipart encoding is hardcoded to utf-8 in PellMultiPartRequest. Can't be correct... but maybe it can be written over somewhere else?
The following block is commented out in source. (setEncoding())
---
/*
String encoding = null;
try {
//encoding = Configuration.getString("webwork.i18n.encoding");
if (encoding != null) {
//NB: This should never be called at the same time as the constructor for
//ServletMultiPartRequest, as it can cause problems.
//See javadoc for MultipartRequest.setEncoding()
http.utils.multipartrequest.MultipartRequest.setEncoding(encoding);
}
---
From email:
Please submit a bug report and we'll get on it... You're probably the
first one to stumble on it
BTW, this stuff is exactly the same as in WW1.3 and 1.4, so we'll need
to fix this there, too...
Jason
|
|
Description
|
Multipart encoding is hardcoded to utf-8 in PellMultiPartRequest. Can't be correct... but maybe it can be written over somewhere else?
The following block is commented out in source. (setEncoding())
---
/*
String encoding = null;
try {
//encoding = Configuration.getString("webwork.i18n.encoding");
if (encoding != null) {
//NB: This should never be called at the same time as the constructor for
//ServletMultiPartRequest, as it can cause problems.
//See javadoc for MultipartRequest.setEncoding()
http.utils.multipartrequest.MultipartRequest.setEncoding(encoding);
}
---
From email:
Please submit a bug report and we'll get on it... You're probably the
first one to stumble on it
BTW, this stuff is exactly the same as in WW1.3 and 1.4, so we'll need
to fix this there, too...
Jason
|
Show » |
|
This should be fixed in CVS - can you let me know how it works for you?
The encoding is set to look for webwork.i18n.encoding property, and if that's not found then UTF-8 is used by default.
Cheers,
Mike