This reverts commit
ebcca1e5ead27cab1eafc028332b1984c84b10b2.
/utf-8 is needed to deal with subprojects that we do not control.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/259>
endif
endif
+# Ensure that MSVC interprets all source code as UTF-8
+if cc.get_id() == 'msvc'
+ add_global_arguments(
+ cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
+ language: ['c', 'cpp'])
+endif
+
# Ordered list of subprojects (dict has no ordering guarantees)
subprojects = [
['gstreamer', {'build-hotdoc': true}],