Displaying 1 result from an estimated 1 matches for "0o251".
Did you mean:
0251
2010 Dec 14
9
UTF-8 String.strip bug (and several over methods)
Hello, with Rails 3.0.3
"Café Noir ".strip => "Café noir"
but
"Café ".strip => "Caf\303\251"
In fact, strip() doesn''t works if the last printable character is
accentuated.
Surprisingly " écologie".strip works fine.
I''ve tried to dig deeper in active_support multibyte source code but
didn''t found any solution.