diff --git a/src/virtual-machine.js b/src/virtual-machine.js index f1508fa7..23060204 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -412,7 +412,10 @@ class VirtualMachine extends EventEmitter { json.projectVersion = 2; return Promise.resolve([json, sb1.zip]); } catch (sb1Error) { - if (sb1Error instanceof ValidationError) { + if ( + sb1Error instanceof ValidationError || + `${sb1Error}` === 'Non-ascii character in FixedAsciiString' + ) { // The input does not validate as a Scratch 1 file. } else { // The project appears to be a Scratch 1 file but it