From: Nicolas Gaiffe Date: 2009-01-09T18:14:40+09:00 Subject: Encoding issue for special characters on Windows Hi, I am facing an issue with special characters handling inside a Ruby script running on Windows and am sure some of you could help me on this. This script copies files such as ".txt" to ".txt". But once translated, the new filename may have special characters. 'ä' for instance. Running puts 'ä' in a Ruby script gives 'õ' as an output, whereas the same code in irb gives 'ä' There must be an encoding issue at some point in my script but I didn't manage to fix it (tried different values of '#encoding:' without success). Any clue ? Many thanks in advance Best regards Nicolas