libreoffice-online/scripts
Aron Budea a1a6817e4d unocommands.py: Treat JS/TS files as UTF-8
Otherwise eg. non-ASCII shortcuts appearing in files can cause
failures like this.

Traceback (most recent call last):
  File ".../rpmbuild/BUILD/coolwsd-23.05.2.2snapshot/scripts/unocommands.py", line 454, in <module>
    toolbarCommands = extractToolbarCommands(onlineDir)
  File ".../rpmbuild/BUILD/coolwsd-23.05.2.2snapshot/scripts/unocommands.py", line 163, in extractToolbarCommands
    for line in f:
  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]

Encountered after 1a2500c8d3.

This is not ASCII in browser/src/control/Control.NotebookbarWriter.js:
`'accessibility': { focusBack: true,     combination: 'AI',      de: 'ÖI' }

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I72aac2809530c14b9440f73e5072db17770f438a
2023-08-17 11:55:34 +02:00
..
build-poco-android.sh Poco: build for Android 2023-07-02 10:29:16 +02:00
build-zstd-android.sh android: only static zstd libs are needed 2023-07-01 18:14:08 +02:00
build-zstd-ios.sh
extract_translator.sh
locorestrings.py
logparse.pl
perftrace.pl
refresh-git-hooks
segv-catch.pl
test-ha.pl
translator_credits.sh
unocommands.py unocommands.py: Treat JS/TS files as UTF-8 2023-08-17 11:55:34 +02:00
untranslated.py
unused-js-functions.sh
weblate-leader-board-parser.py