APAR status
Closed as program error.
Error description
Issue with the way StringBufferOutputStream implements the following three methods: write(int b); // writes a single byte write(byte[] arr); // writes a full byte array write(byte[] arr, int offset, int length); // write the content of the array from offset, for length characters. SBOS implements them in a way that can lead to problems. For example, the write(int) method accepts a single byte. If I have a character which is encoded in two bytes, the implementation of that method won't work. It eventually does the following: public void write(int b) { sb.append(new String(new byte[] {b}. "UTF-8")); } This leads to accented characters being mishandled in this case. After applying a patch which uses ByteArrayOutputStream instead of StringBufferOutputStream, the following output indicates that index and search are working properly. It was found that from the SystemOut.log, the text is converted to string properly with accented characters.
Local fix
Problem summary
Update made to the JCR code to better use the internal StringBufferOutputStream.
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
PK77962
Reported component name
WEBSPHERE PORTA
Reported component ID
5724E7600
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-01-05
Closed date
2009-02-20
Last modified date
2009-02-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE PORTA
Fixed component ID
5724E7600
Applicable component levels
R601 PSY
UP
R610 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
21 December 2021