This project is closed and read-only.
Actions
Backport #6104
closedFile.join always returns as ASCII-8BIT regardless of input encoding
Backport #6104:
File.join always returns as ASCII-8BIT regardless of input encoding
Status:
Closed
Assignee:
Description
I can show lots of different variations, but the simplest proof is:
irb(main):001:0> File.join('foo'.encode('utf-8')).encoding
=> #Encoding:ASCII-8BIT
Actions