Bug 49741

GemStone/S 64 Bit

3.6.2, 3.6.1, 3.6, 3.5.7, 3.5.6, 3.5.5, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5, 3.4.5, 3.4.4, 3.4.3, 3.4.2, 3.4.1, 3.4, 3.3.9, 3.3.8, 3.3.7, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3, earlier versions

3.6.3, 3.5.8

Strings with µ/181 and ÿ/255 do not convert to uppercase correctly

The characters µ/code point 181 and ÿ/code point 255 have uppercase forms that are outside of the range of a Single-byte String. Sending asUppercase to a single-byte String containing either of these characters did not transparently convert to a DoubleByteString, and results in a single-byte String containing the wrong upper case form for either of these characters.

Workaround

Unicode strings, specifically Unicode16, do not have this issue.

Sending asUppercase to each Character will result in the correct uppercase form.


                

Last updated: 10/29/21