Reverting force_encoding.

This commit is contained in:
John Van Enk
2012-11-27 10:37:56 -05:00
parent 9e1d77a94a
commit 369b5bcc64
+1 -2
View File
@@ -46,8 +46,7 @@ class CMockHeaderParser
private if $ThisIsOnlyATest.nil? ################
def import_source(source)
source = source.force_encoding("ISO-8859-1").encode("utf-8", replace: nil)
# void must be void for cmock _ExpectAndReturn calls to process properly, not some weird typedef which equates to void
# to a certain extent, this action assumes we're chewing on pre-processed header files, otherwise we'll most likely just get stuff from @treat_as_void
@local_as_void = @treat_as_void