diff options
author | Kai Köhne <kai.koehne@qt.io> | 2024-02-14 07:37:44 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-04-11 07:05:09 +0000 |
commit | 4991f0e86f10196c4a67bc3d1d721f245ae08128 (patch) | |
tree | ce18cdf3c3ab3e49f9f1f89bc08203491483de0d | |
parent | 0f527eeb9b8a91b52023f4ca13cdf4c447e9cb48 (diff) |
Fix specified encoding for .rst files
Change-Id: I854803f7a17972dad747121d22d4ff951461bcf9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rwxr-xr-x | scripts/gen-quip-0000.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-quip-0000.py b/scripts/gen-quip-0000.py index ca3d698..ebc0d43 100755 --- a/scripts/gen-quip-0000.py +++ b/scripts/gen-quip-0000.py @@ -15,7 +15,7 @@ class RootQuip (dict): def __init__(self, files): parser = HeaderParser() for quip in files: - with open(quip, 'r', encoding='tf-8') as quipfp: + with open(quip, 'r', encoding='utf-8') as quipfp: self[quip] = parser.parse(quipfp) def last_name(names): # tool function for owners; not a method |