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
Updated by nobu (Nobuyoshi Nakada) almost 15 years ago
- Category set to core
- Assignee set to yugui (Yuki Sonoda)
=begin
r26052
=end
Actions
Like0
Like0Like0