General

Profile

patrickb (Patrick Bennett)

Issues

Activity

03/01/2012

03:47 AM Backport193 Backport #6104 (Closed): File.join always returns as ASCII-8BIT regardless of input encoding
I can show lots of different variations, but the simplest proof is:
irb(main):001:0> File.join('foo'.encode('utf-8')...
patrickb (Patrick Bennett)
03:13 AM Ruby master Bug #5297: Either File.expand_path or File.join is corrupting string encoding
With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding... patrickb (Patrick Bennett)
02:34 AM Ruby master Bug #5297: Either File.expand_path or File.join is corrupting string encoding
Which other issue is this associated with?
Is this going to be patched back to 1.9.3? It's still present in 1.9.3p125
patrickb (Patrick Bennett)

Also available in: Atom