Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.7.2
-
None
-
standalone, tomcat, ubuntu
-
3.07
-
Description
When using a language that requires non-ASCII character support (e.g. Cyrillic), on some screens the non-ASCII characters are replaced with question marks. The problem does not occur in all screens. The problem appears in different locations of the Issue Browser for different issues.
If you change one of the characters in the affected string from a two-byte character to a single-byte character, the problem may disappear for that screen.
The problem is for non ASCII symbols traversed into UTF-8 encoding. For example - Russian locale.
The FastByteArrayOutputStream call new String(bytes, 0, length, "UTF-8") for each part of buffered bytes and this is error. UTF-8 symbol can contains more 1 byte, and such conversion make troubles on endes of byte arrays. Please see attached patch for this class.