{"id":19535806,"url":"https://github.com/miyako/4d-tips-rfc","last_synced_at":"2026-02-25T21:01:26.545Z","repository":{"id":116953356,"uuid":"609016517","full_name":"miyako/4d-tips-RFC","owner":"miyako","description":"日本語のファイル名をMIMEヘッダーのContent-Disposition向けにエンコードする例題","archived":false,"fork":false,"pushed_at":"2023-03-22T11:22:06.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T22:35:02.468Z","etag":null,"topics":["4d-class"],"latest_commit_sha":null,"homepage":"","language":"4D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miyako.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2023-03-03T07:43:07.000Z","updated_at":"2023-03-06T09:51:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b843fafe-790e-4482-b1ef-4194b260be4b","html_url":"https://github.com/miyako/4d-tips-RFC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/miyako/4d-tips-RFC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-tips-RFC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-tips-RFC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-tips-RFC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-tips-RFC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/4d-tips-RFC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-tips-RFC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29839924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T20:42:33.054Z","status":"ssl_error","status_checked_at":"2026-02-25T20:42:21.322Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["4d-class"],"created_at":"2024-11-11T02:19:56.046Z","updated_at":"2026-02-25T21:01:26.507Z","avatar_url":"https://github.com/miyako.png","language":"4D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RFC2231, RFC2047\n日本語のファイル名をMIMEヘッダーの`Content-Disposition`向けにエンコードする例題\n\n### [RFC2231](https://www.ietf.org/rfc/rfc2231.txt)\n\n\n```4d\n$RFC:=cs.RFC2231.new()\n$disposition:=$RFC.encode(\"ascii.日本語.日本語.日本語.日本語.日本語.🌀.🌀.🌀.🌀.file.name\")\n```\n\n```\nattachment;\n\tfilename*0=utf-8'ja'ascii.%E6%97%A5%E6%9C%AC%E8%AA%9E.%E6%97%A5%E6%9C%AC;\n\tfilename*1=%E8%AA%9E.%E6%97%A5%E6%9C%AC%E8%AA%9E.%E6%97%A5%E6%9C%AC;\n\tfilename*2=%E8%AA%9E.%E6%97%A5%E6%9C%AC%E8%AA%9E.%ED%BC%80.%ED%BC%80.;\n\tfilename*3=%ED%BC%80.%ED%BC%80.file.name\n```\n\n### [RFC2047](https://www.ietf.org/rfc/rfc2047.txt)\n\n```4d\n$RFC:=cs.RFC2047.new()\n$filename:=$RFC.encode(\"ascii.日本語.日本語.日本語.日本語.日本語.🌀.🌀.🌀.🌀.file.name\")\n```\n\n```\n=?utf-8?B?YXNjaWku5pel5pys6KqeLuaXpeacrOiqni7ml6XmnKzoqp4=?=\n\t=?utf-8?B?LuaXpeacrOiqni7ml6XmnKzoqp4u8J+MgC7wn4yALvCfjIAu8J+MgC5maWxlLm5hbWU=?=\n```\n\nコードポイント単位でwrapしますので，サロゲートペアは分断されるかもしれません。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-tips-rfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2F4d-tips-rfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-tips-rfc/lists"}