Object
@param [ String ] file_path
@return [ String ] The charset of the file
# File lib/common/hacks.rb, line 63 def self.charset(file_path) %{file --mime #{file_path}}[%{charset=([^\n]+)\n}, 1] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.