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
356 I want to create an array of sequences from "1" to a specified number.
346 Who developed the "avformat-59.dll" that comes with FFmpeg?
342 Memory layouts learned in theory don't work out as expected when actually printed as addresses.
372 Update Flask User Information
367 To Limit Column Values to Strings in a String List Using sqlalchemy
© 2023 OneMinuteCode. All rights reserved.