diff --git a/src/towncrier/build.py b/src/towncrier/build.py index 3a07bae1..2533db6c 100644 --- a/src/towncrier/build.py +++ b/src/towncrier/build.py @@ -262,7 +262,8 @@ def __main( "What is seen below is what would be written.\n", err=to_err, ) - click.echo(content) + # output as bytes to prevent universal_newlines modifying content #453 + click.echo(content.encode("utf8")) return click.echo("Writing to newsfile...", err=to_err)