When creating folders in GAS, if the folder name is Alphabet, it will be created correctly, but if it is in kanji or hiragana, it may or may not be created.Even if it is not created, the child folder and grandchild folder will be displayed on the right panel. Is this because GAS does not support Japanese? Below is a sample code, and I would appreciate it if you could do a follow-up test.
Please let me know if you have any countermeasures.
function createFoldersTest1(){
var folder1 = DriveApp.createFolder('JAPAN');
var folder2 = folder1.createFolder('TOHOKU');
folder2.createFolder('Aomori');
folder2.createFolder('Akita');
folder2.createFolder('Iwate');
folder2.createFolder('Yamagata');
folder2.createFolder('MIyagi');
folder2.createFolder('Fukushima');
folder2.createFolder('Nigata');
folder2.createFolder('Gunma');
}
function createFoldersTest2(){
var folder1 = DriveApp.createFolder('Japan');
var folder2 = folder1.createFolder('Tohoku');
folder2.createFolder('Aomori Prefecture');
folder2.createFolder('Akita Prefecture');
folder2.createFolder('Iwate Prefecture');
folder2.createFolder('Yamagata');
folder2.createFolder('Miyagi Prefecture');
folder2.createFolder('Fukushima');
folder2.createFolder('Niigata');
folder2.createFolder('Gunma');
}
function createFoldersTest3(){
var folder1 = DriveApp.createFolder('Ayeo');
var folder2 = folder1.createFolder('scratch');
folder2.createFolder('insert');
folder2.createFolder('at last');
folder2.createFolder('what');
folder2.createFolder('hehehe);
folder2.createFolder('Mimumo');
folder2.createFolder('That's why');
folder2.createFolder('Larillo');
folder2.createFolder('Wow');
}
I have tried the above test codes and they are all created.
In the case of GAS, each method call may not appear on the screen.
Also, if only a specific string is not possible, it may be a bug on Google side, so it is better to register the issue below.
https://code.google.com/p/google-apps-script-issues/issues/list
619 Uncaught (inpromise) Error on Electron: An object could not be cloned
578 Understanding How to Configure Google API Key
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.