481763
diff -up firefox-102.0/third_party/python/PyYAML/lib3/yaml/reader.py.build-ascii-decode-fail-rhel7 firefox-102.0/third_party/python/PyYAML/lib3/yaml/reader.py
481763
--- firefox-102.0/third_party/python/PyYAML/lib3/yaml/reader.py.build-ascii-decode-fail-rhel7	2022-06-23 09:11:39.000000000 +0200
481763
+++ firefox-102.0/third_party/python/PyYAML/lib3/yaml/reader.py	2022-08-16 13:24:31.697757209 +0200
481763
@@ -73,6 +73,8 @@ class Reader(object):
481763
             self.name = "<unicode string>"
481763
             self.check_printable(stream)
481763
             self.buffer = stream+'\0'
481763
+            #self.encoding = 'utf-8'
481763
+            #self.raw_decode = codecs.utf_8_decode
481763
         elif isinstance(stream, bytes):
481763
             self.name = "<byte string>"
481763
             self.raw_buffer = stream
481763
@@ -83,6 +85,11 @@ class Reader(object):
481763
             self.eof = False
481763
             self.raw_buffer = None
481763
             self.determine_encoding()
481763
+        print("DEBUG_OUTPUT:")
481763
+        print(self.name)
481763
+        print(self.encoding)
481763
+        print(self.stream)
481763
+        #print(self.stream.read())
481763
 
481763
     def peek(self, index=0):
481763
         try:
481763
diff -up firefox-102.0/toolkit/components/nimbus/generate/generate_feature_manifest.py.build-ascii-decode-fail-rhel7 firefox-102.0/toolkit/components/nimbus/generate/generate_feature_manifest.py
481763
--- firefox-102.0/toolkit/components/nimbus/generate/generate_feature_manifest.py.build-ascii-decode-fail-rhel7	2022-08-16 14:16:33.432529817 +0200
481763
+++ firefox-102.0/toolkit/components/nimbus/generate/generate_feature_manifest.py	2022-08-17 08:01:38.175878171 +0200
481763
@@ -37,7 +37,7 @@ def generate_feature_manifest(fd, input_
481763
     write_fm_js_headers(fd)
481763
     nimbus_dir_path = pathlib.Path(input_file).parent
481763
     try:
481763
-        with open(input_file, "r") as yaml_input:
481763
+        with open(input_file, "r", encoding="utf-8") as yaml_input:
481763
             data = yaml.safe_load(yaml_input)
481763
             with pathlib.Path(nimbus_dir_path, FEATURE_MANIFEST_SCHEMA).open() as f:
481763
                 schema = json.load(f)
481763
@@ -92,7 +92,7 @@ def generate_platform_feature_manifest(f
481763
         )
481763
 
481763
     try:
481763
-        with open(input_file, "r") as yaml_input:
481763
+        with open(input_file, "r", encoding="utf-8") as yaml_input:
481763
             data = yaml.safe_load(yaml_input)
481763
             fd.write(file_structure(data))
481763
     except (IOError) as e: