From 2bf3910670fe56601e2b9990f833287850bcd93d Mon Sep 17 00:00:00 2001 From: Ryan Boland Date: Mar 03 2020 14:57:22 +0000 Subject: Merge pull request #152 from shwaka/master Set appropriate encoding for source_map --- diff --git a/lib/sassc/engine.rb b/lib/sassc/engine.rb index cb47f33..1395503 100644 --- a/lib/sassc/engine.rb +++ b/lib/sassc/engine.rb @@ -56,6 +56,7 @@ module SassC @source_map = Native.context_get_source_map_string(context) css.force_encoding(@template.encoding) + @source_map.force_encoding(@template.encoding) if @source_map.is_a?(String) return css unless quiet? ensure