##// END OF EJS Templates
scripts/i18n: also normalize casing of UTF-8 in Content-Type...
Mads Kiilerich -
r8187:30e137b4 default
parent child Browse files
Show More
@@ -133,6 +133,9 b' def _normalize_po(raw_content):'
133 .strip(),
133 .strip(),
134 '',
134 '',
135 header_normalize_re.sub('', raw_content[header_start:header_end])
135 header_normalize_re.sub('', raw_content[header_start:header_end])
136 .replace(
137 r'"Content-Type: text/plain; charset=utf-8\n"',
138 r'"Content-Type: text/plain; charset=UTF-8\n"') # maintain msgmerge casing
136 .strip(),
139 .strip(),
137 ''] # preserve normalized header
140 ''] # preserve normalized header
138 # all chunks are separated by empty line
141 # all chunks are separated by empty line
General Comments 0
You need to be logged in to leave comments. Login now