{"id":22032398,"url":"https://github.com/vaiorabbit/everyday_use_kanji","last_synced_at":"2025-07-17T12:34:41.455Z","repository":{"id":146727098,"uuid":"264418735","full_name":"vaiorabbit/everyday_use_kanji","owner":"vaiorabbit","description":"常用漢字・人名用漢字のテーブルとImGui用のコード生成スクリプト","archived":false,"fork":false,"pushed_at":"2023-02-07T13:37:20.000Z","size":6098,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T12:49:35.291Z","etag":null,"topics":["character-encoding","cplusplus","imgui","ruby"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaiorabbit.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-16T11:08:29.000Z","updated_at":"2024-11-10T00:58:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"75a34573-1a22-45b6-9037-be3b70b24130","html_url":"https://github.com/vaiorabbit/everyday_use_kanji","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vaiorabbit/everyday_use_kanji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Feveryday_use_kanji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Feveryday_use_kanji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Feveryday_use_kanji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Feveryday_use_kanji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaiorabbit","download_url":"https://codeload.github.com/vaiorabbit/everyday_use_kanji/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Feveryday_use_kanji/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265606648,"owners_count":23796978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["character-encoding","cplusplus","imgui","ruby"],"created_at":"2024-11-30T08:27:59.396Z","updated_at":"2025-07-17T12:34:41.416Z","avatar_url":"https://github.com/vaiorabbit.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Everyday use kanji #\n\n*   Created : 2020-05-16\n*   Last modified : 2023-01-08\n\n## Features ##\n\n*   Provides lists of everyday use kanji characters\n*   Sourced from official information provided by the government agencies of Japan\n\n## Contents ##\n\n*   regular_use_utf8.csv and regular_use_force_2byte_codepoint_utf8.csv\n    *   2136 kanjis for everyday use, announced officially by the Japanese Ministry of Education in 2010 ( 文化庁：常用漢字表 https://www.bunka.go.jp/kokugo_nihongo/sisaku/joho/joho/kakuki/14/tosin02/index.html )\n*   personal_name_utf8.csv\n    *   Additional 863 kanjis for personal name, announced officially by the Japanese Ministry of Justice ( 法務省：子の名に使える漢字 http://www.moj.go.jp/MINJI/minji86.html )\n*   imgui/GetGlyphRangesJapanese.cpp, imgui/GetGlyphRangesJapanese_standalone.cpp\n    *   Alternative implementation of ImGui::GetGlyphRangesJapanese() ( https://github.com/ocornut/imgui ) that can handle 2999 kanjis correctly\n*   scripts/*.rb, src/**/*.rb, imgui/*.rb\n    *   Ruby scripts used to obtain data and generate derivatives\n    *   Run update.cmd (Windows) / update.sh (macOS) to regenerate codes\n\n## Sources ##\n\nThis project uses official information provided by the government agencies of Japan.\n\n**See 'LICENSE' for the terms of use.**\n\n## Notes ##\n\n### 2136, 𠮟 or 叱 (in regular_use.csv) ###\n\nThe only difference between 'regular_use_utf8.csv' and 'regular_use_force_2byte_codepoint_utf8.csv' is the character in the last line.\n\n*   'regular_use_utf8.csv'\n\n        2136,𠮟\n\n*   'regular_use_force_2byte_codepoint_utf8.csv'\n\n        2136,叱\n\n*   𠮟 (codepoint 0x20b9f(==134047), encoded as F0 A0 AE 9F in UTF-8):\n    *   was added as the regular-use kanjis in 2010.\n    *   is the only regular use kanji that its codepoint *exceeds 2 bytes*.\n*   叱 (codepoint 0x53f1(==21489), encoded as E5 8F B1 in UTF-8):\n    *   is the traditional form of 「𠮟」.\n    *   has been used before the modern form 「𠮟」 was added, and can be represented its codepoint in 2 bytes.\n\n'regular_use_force_2byte_codepoint_utf8.csv' may be useful for environments that maintain codepoints with 2-byte storage (e.g. ImGui compiled with 'sizeof(ImWchar) == 2').\n\n----------------------------------------------------------------------------------------------------\n\n## 特徴 ##\n\n*   日常利用する漢字のリスト\n*   法務省・文化庁の提供する公式データを利用\n\n## 内容 ##\n\n*   regular_use_utf8.csv and regular_use_force_2byte_codepoint_utf8.csv\n    *   常用漢字2136字のリスト ( 文化庁：常用漢字表 https://www.bunka.go.jp/kokugo_nihongo/sisaku/joho/joho/kakuki/14/tosin02/index.html )\n*   personal_name_utf8.csv\n    *   常用漢字外の人名用漢字863字 ( 法務省：子の名に使える漢字 http://www.moj.go.jp/MINJI/minji86.html )\n*   imgui/GetGlyphRangesJapanese.cpp, imgui/GetGlyphRangesJapanese_standalone.cpp\n    *   上記データを利用して ImGui ( https://github.com/ocornut/imgui ) の ImGui::GetGlyphRangesJapanese() の実装を修正し 2999 文字が正しく扱えるようにしたもの\n*   scripts/*.rb, src/**/*.rb, imgui/*.rb\n    *   以上を生成する Ruby スクリプト\n\n## 情報の取得先 ##\n\n法務省・文化庁の提供する公式データ\n\n** 利用する際は 'LICENSE' を確認すること **\n\n## メモ ##\n\n### 2136, 𠮟 もしくは 叱 について (regular_use.csv を参照) ###\n\nCSVファイル 'regular_use_utf8.csv' と 'regular_use_force_2byte_codepoint_utf8.csv' の差は最後の行にあるこの1文字のみ：\n\n*   'regular_use_utf8.csv'\n\n        2136,𠮟\n\n*   'regular_use_force_2byte_codepoint_utf8.csv'\n\n        2136,叱\n\n*   𠮟 (コードポイント 0x20b9f(==134047), UTF-8 では F0 A0 AE 9F としてエンコード):\n    *   2010年に常用漢字に追加\n    *   現時点の常用漢字でコードポイントの保持に2バイトを*越える*領域が必要になる唯一の文字\n*   叱 (コードポイント 0x53f1(==21489), UTF-8 では E5 8F B1 としてエンコード):\n    *   「𠮟」の旧字体\n    *   「𠮟」の追加前に使われてきたもので2バイトでコードポイントを保持可能\n\n'regular_use_force_2byte_codepoint_utf8.csv' などは2バイトの変数でコードポイントを保持する環境での利用を想定している (例: 'sizeof(ImWchar) == 2' となるようコンパイルされたImGui)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaiorabbit%2Feveryday_use_kanji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaiorabbit%2Feveryday_use_kanji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaiorabbit%2Feveryday_use_kanji/lists"}