Fix mishandling of non-ascii characters

This commit is contained in:
Akitake 2024-07-02 22:57:57 +02:00
parent 9c7e806155
commit abfbf4ad53
No known key found for this signature in database
GPG Key ID: BBB11D6E26F3162D
2 changed files with 59 additions and 59 deletions

View File

@ -24,7 +24,7 @@ def update_json_file(json_path, dateCode):
entries += 1
with open(json_path, "w", encoding="utf-8") as json_file:
json.dump(data, json_file, indent=4)
json.dump(data, json_file, indent=4, ensure_ascii=False)
print(f"'{json_path}' -> \"dateCode\": \"{dateCode}\"")
return entries

View File

@ -151,7 +151,7 @@
"type": "union",
"patches": [
{
"name": "festo(\u30d5\u30a7\u30b9\u30c8)",
"name": "festo(フェスト)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -160,7 +160,7 @@
}
},
{
"name": "HinaBitter\u266a(\u3072\u306a\u30d3\u30bf\u266a)",
"name": "HinaBitter♪(ひなビタ♪)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -169,7 +169,7 @@
}
},
{
"name": "clan(\u30af\u30e9\u30f3)",
"name": "clan(クラン)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -178,7 +178,7 @@
}
},
{
"name": "Ochazuke(\u304a\u8336\u3065\u3051)",
"name": "Ochazuke(お茶づけ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -187,7 +187,7 @@
}
},
{
"name": "AC Ver. Disney Tsum Tsum(AC\u7248\u30c7\u30a3\u30ba\u30cb\u30fc \u30c4\u30e0\u30c4\u30e0)",
"name": "AC Ver. Disney Tsum Tsum(AC版ディズニー ツムツム)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -205,7 +205,7 @@
}
},
{
"name": "Himouto! Umaru-chan(\u5e72\u7269\u59b9\uff01\u3046\u307e\u308b\u3061\u3083\u3093)",
"name": "Himouto! Umaru-chan(干物妹!うまるちゃん)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -214,7 +214,7 @@
}
},
{
"name": "Qubell(\u30ad\u30e5\u30fc\u30d9\u30eb)",
"name": "Qubell(キューベル)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -223,7 +223,7 @@
}
},
{
"name": "prop(\u30d7\u30ed\u30c3\u30d7)",
"name": "prop(プロップ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -232,7 +232,7 @@
}
},
{
"name": "QMA/CPU Sharon(QMA/CPU\u30b7\u30e3\u30ed\u30f3)",
"name": "QMA/CPU Sharon(QMA/CPUシャロン)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -241,7 +241,7 @@
}
},
{
"name": "Shocho(\u30b7\u30e7\u30c3\u30c1\u30e7\u30fc)",
"name": "Shocho(ショッチョー)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -250,7 +250,7 @@
}
},
{
"name": "saucer(\u30bd\u30fc\u30b5\u30fc)",
"name": "saucer(ソーサー)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -259,7 +259,7 @@
}
},
{
"name": "Natural block(\u30ca\u30c1\u30e5\u30e9\u30eb\u30d6\u30ed\u30c3\u30af)",
"name": "Natural block(ナチュラルブロック)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -268,7 +268,7 @@
}
},
{
"name": "Little owl(\u3053\u3073\u3075\u304f\u308d\u3046)",
"name": "Little owl(こびふくろう)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -277,7 +277,7 @@
}
},
{
"name": "Circus(\u30b5\u30fc\u30ab\u30b9)",
"name": "Circus(サーカス)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -286,7 +286,7 @@
}
},
{
"name": "copious(\u30b3\u30d4\u30aa\u30b9)",
"name": "copious(コピオス)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -295,7 +295,7 @@
}
},
{
"name": "jubeat-kun(jubeat\u304f\u3093)",
"name": "jubeat-kun(jubeatくん)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -304,7 +304,7 @@
}
},
{
"name": "Concierge(\u30b3\u30f3\u30b7\u30a7\u30eb\u30b8\u30e5)",
"name": "Concierge(コンシェルジュ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -313,7 +313,7 @@
}
},
{
"name": "Nengoro Neko(\u306d\u3093\u3054\u308d\u306d\u3053)",
"name": "Nengoro Neko(ねんごろねこ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -322,7 +322,7 @@
}
},
{
"name": "Stopwatch(\u30b9\u30c8\u30c3\u30d7\u30a6\u30a9\u30c3\u30c1)",
"name": "Stopwatch(ストップウォッチ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -331,7 +331,7 @@
}
},
{
"name": "Color composition(\u8272\u5f69\u69cb\u6210)",
"name": "Color composition(色彩構成)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -340,7 +340,7 @@
}
},
{
"name": "knit(\u30cb\u30c3\u30c8)",
"name": "knit(ニット)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -349,7 +349,7 @@
}
},
{
"name": "Stealth(\u30b9\u30c6\u30eb\u30b9)",
"name": "Stealth(ステルス)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -358,7 +358,7 @@
}
},
{
"name": "Fusuma(\u8956)",
"name": "Fusuma()",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -367,7 +367,7 @@
}
},
{
"name": "Torus(\u30c8\u30fc\u30e9\u30b9)",
"name": "Torus(トーラス)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -376,7 +376,7 @@
}
},
{
"name": "Painting(\u7d75\u753b)",
"name": "Painting(絵画)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -385,7 +385,7 @@
}
},
{
"name": "Blur(\u30d6\u30e9\u30fc)",
"name": "Blur(ブラー)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -394,7 +394,7 @@
}
},
{
"name": "Banana(\u30d0\u30ca\u30ca)",
"name": "Banana(バナナ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -403,7 +403,7 @@
}
},
{
"name": "Shoku(\u89e6)",
"name": "Shoku()",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -412,7 +412,7 @@
}
},
{
"name": "Yubiko(\u30e6\u30d3\u5b50)",
"name": "Yubiko(ユビ子)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -421,7 +421,7 @@
}
},
{
"name": "ripples(\u30ea\u30d7\u30eb\u30ba)",
"name": "ripples(リプルズ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -430,7 +430,7 @@
}
},
{
"name": "Mirror ball(\u30df\u30e9\u30fc\u30dc\u30fc\u30eb)",
"name": "Mirror ball(ミラーボール)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -439,7 +439,7 @@
}
},
{
"name": "Sand art(\u30b5\u30f3\u30c9\u30a2\u30fc\u30c8)",
"name": "Sand art(サンドアート)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -448,7 +448,7 @@
}
},
{
"name": "Digital block(\u30c7\u30b8\u30bf\u30eb\u30d6\u30ed\u30c3\u30af)",
"name": "Digital block(デジタルブロック)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -457,7 +457,7 @@
}
},
{
"name": "Blow bubbles(\u30b7\u30e3\u30dc\u30f3\u7389)",
"name": "Blow bubbles(シャボン玉)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -466,7 +466,7 @@
}
},
{
"name": "Ice(\u30a2\u30a4\u30b9)",
"name": "Ice(アイス)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -475,7 +475,7 @@
}
},
{
"name": "Okojo(\u30aa\u30b3\u30b8\u30e7)",
"name": "Okojo(オコジョ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -484,7 +484,7 @@
}
},
{
"name": "Gauge(\u30b2\u30fc\u30b8)",
"name": "Gauge(ゲージ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -493,7 +493,7 @@
}
},
{
"name": "Volcano(\u706b\u5c71)",
"name": "Volcano(火山)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -502,7 +502,7 @@
}
},
{
"name": "Tamago(\u305f\u307e\u3054)",
"name": "Tamago(たまご)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -511,7 +511,7 @@
}
},
{
"name": "Target(\u30bf\u30fc\u30b2\u30c3\u30c8)",
"name": "Target(ターゲット)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -520,7 +520,7 @@
}
},
{
"name": "Fireworks(\u82b1\u706b)",
"name": "Fireworks(花火)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -529,7 +529,7 @@
}
},
{
"name": "Blue ring(\u30d6\u30eb\u30fc\u30ea\u30f3\u30b0)",
"name": "Blue ring(ブルーリング)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -538,7 +538,7 @@
}
},
{
"name": "Shutter(\u30b7\u30e3\u30c3\u30bf\u30fc)",
"name": "Shutter(シャッター)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -547,7 +547,7 @@
}
},
{
"name": "Afro(\u30a2\u30d5\u30ed)",
"name": "Afro(アフロ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -556,7 +556,7 @@
}
},
{
"name": "Flower(\u30d5\u30e9\u30ef\u30fc)",
"name": "Flower(フラワー)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -565,7 +565,7 @@
}
},
{
"name": "Cyber(\u30b5\u30a4\u30d0\u30fc)",
"name": "Cyber(サイバー)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -583,7 +583,7 @@
"type": "union",
"patches": [
{
"name": "Plant(\u30d7\u30e9\u30f3\u30c8)",
"name": "Plant(プラント)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -592,7 +592,7 @@
}
},
{
"name": "Ocean(\u30aa\u30fc\u30b7\u30e3\u30f3)",
"name": "Ocean(オーシャン)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -601,7 +601,7 @@
}
},
{
"name": "Banana(\u30d0\u30ca\u30ca)",
"name": "Banana(バナナ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -610,7 +610,7 @@
}
},
{
"name": "Charcoal Grey(\u30c1\u30e3\u30b3\u30fc\u30eb\u30b0\u30ec\u30fc)",
"name": "Charcoal Grey(チャコールグレー)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -619,7 +619,7 @@
}
},
{
"name": "Lake(\u30ec\u30a4\u30af)",
"name": "Lake(レイク)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -628,7 +628,7 @@
}
},
{
"name": "Charcoal(\u30c1\u30e3\u30b3\u30fc\u30eb)",
"name": "Charcoal(チャコール)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -637,7 +637,7 @@
}
},
{
"name": "Acerola(\u30a2\u30bb\u30ed\u30e9)",
"name": "Acerola(アセロラ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -646,7 +646,7 @@
}
},
{
"name": "Cassis(\u30ab\u30b7\u30b9)",
"name": "Cassis(カシス)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -655,7 +655,7 @@
}
},
{
"name": "Himouto! Umaru-chan(\u5e72\u7269\u59b9\uff01\u3046\u307e\u308b\u3061\u3083\u3093)",
"name": "Himouto! Umaru-chan(干物妹!うまるちゃん)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -673,7 +673,7 @@
}
},
{
"name": "Ochazuke(\u304a\u8336\u3065\u3051)",
"name": "Ochazuke(お茶づけ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -682,7 +682,7 @@
}
},
{
"name": "Kotaro and Nengoro Neko(\u30b3\u30bf\u30ed\u30fc\u3068\u306d\u3093\u3054\u308d\u306d\u3053)",
"name": "Kotaro and Nengoro Neko(コタローとねんごろねこ)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",
@ -691,7 +691,7 @@
}
},
{
"name": "HinaBitter\u266a(\u3072\u306a\u30d3\u30bf\u266a)",
"name": "HinaBitter♪(ひなビタ♪)",
"type": "union",
"patch": {
"dllName": "jubeat.dll",