SPIRV-Tools/utils
Nathan Gauër 6c8b460eb1
misc: remove encoding parameter (#5710)
Those scripts are running on Python2.7 if build with the NDK tools.
Under python2.7, io.open will load as "utf-8" since we give the encoding
option, and return a "unicode" string.
Under Python3, the open() function will return a UTF-8 string.
This means the XMLParser needs to have a different 'encoding' option
depending on the python version.

For some reason I don't know, the XMLParser still fails if we use
'unicode' under Python2.7. But converting the unicode string to utf-8
does work.

Signed-off-by: Nathan Gauër <brioche@google.com>
2024-06-17 16:08:55 +02:00
..
vscode Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
check_code_format.sh utils: repos use 'main' as main devlopment branch (#5054) 2023-01-11 15:24:34 -05:00
check_copyright.py Use python3 explicitly. (#5540) 2024-01-23 15:42:34 -05:00
check_symbol_exports.py Use python3 explicitly. (#5540) 2024-01-23 15:42:34 -05:00
fixup_fuzz_result.py Use python3 explicitly. (#5540) 2024-01-23 15:42:34 -05:00
generate_changelog.py Use python3 explicitly. (#5540) 2024-01-23 15:42:34 -05:00
generate_grammar_tables.py Add operand types for SPV_NV_raw_access_chains (#5602) 2024-03-06 10:42:22 -05:00
generate_language_headers.py Add python3 requirement for the script (#5326) 2023-07-18 10:40:43 -04:00
generate_registry_tables.py misc: remove encoding parameter (#5710) 2024-06-17 16:08:55 +02:00
generate_vim_syntax.py Use python3 explicitly. (#5540) 2024-01-23 15:42:34 -05:00
git-sync-deps Use raw string to avoid unintended escapes in regex (#5676) 2024-05-21 11:34:06 -04:00
roll_deps.sh Add abseil to the autoroller (#5680) 2024-05-21 22:15:30 -04:00
update_build_version.py Use python3 explicitly. (#5540) 2024-01-23 15:42:34 -05:00