# File lib/vendor/windows/lib/rb-fchange/watcher.rb, line 62 def normalize_path(path) if(path.size > 256) path = "\\\\?\\" + Pathname.new(path).realpath.to_s end # require 'rchardet' # require 'iconv' # cd = CharDet.detect(path) # encoding = cd['encoding'] # converter = Iconv.new("UTF-16LE", encoding) # converter.iconv(path) # path.encode!("UTF-16LE") end