project('non acsii to ascii encoding') # Writing a non ASCII character with a ASCII encoding should fail conf9 = configuration_data() conf9.set('var', 'ะด') configure_file( input : 'config9.h.in', output : '@BASENAME@', encoding : 'ascii', configuration : conf9 )