class Sass::Engine

def source_encoding

Raises:
  • (ArgumentError) - if the document uses an unknown encoding with `@charset`
  • (Encoding::UndefinedConversionError) - if the source encoding

Returns:
  • (Encoding, nil) -
def source_encoding
  check_encoding!
  @original_encoding
end