Write copyright output files as utf8
authorPaul Bauer <paul.bauer.q@gmail.com>
Thu, 7 Jan 2021 13:08:41 +0000 (13:08 +0000)
committerAndrey Alekseenko <al42and@gmail.com>
Thu, 7 Jan 2021 13:08:41 +0000 (13:08 +0000)
The script could fail otherwise when encodings didn't match.

admin/copyright.py
cmake/gmxVersionInfo.cmake
src/gromacs/listed_forces/gpubonded_impl.cu
src/gromacs/listed_forces/gpubondedkernels.cu

index e54d602851034a93132373b1ebb92738d7e8d610..65b1fbec87e89e517c563106fb2b06c5520be7ae 100755 (executable)
@@ -3,7 +3,7 @@
 # This file is part of the GROMACS molecular simulation package.
 #
 # Copyright (c) 2013,2014,2015,2016,2018 by the GROMACS development team.
-# Copyright (c) 2019,2020, by the GROMACS development team, led by
+# Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -434,7 +434,7 @@ def main():
             if filename == '-':
                 sys.stdout.write(output)
             else:
-                with open(filename, 'w') as outputfile:
+                with open(filename, 'w', encoding='utf-8') as outputfile:
                     outputfile.write(output)
 
 if __name__ == "__main__":
index 1d7b7e8ae5fd06dec838c6aeed2cdb22dd20e9d0..33cd58ead04eb27c94aa3387d4272187fb353305 100644 (file)
@@ -2,7 +2,7 @@
 # This file is part of the GROMACS molecular simulation package.
 #
 # Copyright (c) 2014,2015,2016,2017,2018 by the GROMACS development team.
-# Copyright (c) 2019,2020, by the GROMACS development team, led by
+# Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
index 24b8eb1655eecea230cc01c6ed95abb921d58722..19c8762ee76d017e23e826e6ec01bddaea13a0df 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
index b123efefd6f083575cc39d8b3b6e56d96fab3400..0253a9b9e6e04fa4f4580a666e8ad29f5a071e0b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.