General

Profile

pplr (Pierre PLR)

Issues

Activity

03/22/2012

09:31 PM Backport193 Backport #6190 (Closed): String#encode return string containing invalid chars but marked as valid
>> a = " \xE9 ".encode('UTF-8', 'UTF-8', :invalid => :replace, :replace => "?")
>> a.valid_encoding?
=> true
>...
pplr (Pierre PLR)

Also available in: Atom