Actions
Backport #2705
closedrjust, ljust, and center don't behave properly in ruby 1.9.1p376 with utf-8 padstring
Status:
Closed
Assignee:
Description
=begin
The following happens on p376
'1'.rjust(3, 'é') #=> "é1"
'1'.ljust(3, 'é') #=> "1é"
'1'.center(3, 'é') #=> "1é"
On p243, 1.8.7 and 1.9.2 trunk this seems to work properly:
"éé1"
"1éé"
"é1é"
=end
Actions
Like0
Like0Like0