def METHOD_NAME(mqttwarn_bin, tmp_path, capfd):
    """
    Proof that the configuration scaffolding will write files with UTF-8 encoding on all platforms.
    """
    ini_file = tmp_path.joinpath("testdrive.ini")
    command = f"{mqttwarn_bin} make-config > {ini_file}"
    exitcode = os.system(command) % 255
    assert exitcode == 0, f"Invoking command '{command}' failed"
    ini_content = open(ini_file, encoding="utf-8").read()
    assert 'mqttwarn example configuration file "mqttwarn.ini"' in ini_content