{"id":16389311,"url":"https://github.com/marcelog/simple_utf8","last_synced_at":"2025-08-24T10:12:59.665Z","repository":{"id":14583633,"uuid":"17300103","full_name":"marcelog/simple_utf8","owner":"marcelog","description":"Simple utf8 to binary and viceversa translation routines for Erlang","archived":false,"fork":false,"pushed_at":"2014-02-28T21:49:55.000Z","size":128,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T10:28:11.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcelog.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}},"created_at":"2014-02-28T21:20:56.000Z","updated_at":"2021-08-01T14:05:25.000Z","dependencies_parsed_at":"2022-08-26T22:10:15.724Z","dependency_job_id":null,"html_url":"https://github.com/marcelog/simple_utf8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Fsimple_utf8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Fsimple_utf8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Fsimple_utf8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Fsimple_utf8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcelog","download_url":"https://codeload.github.com/marcelog/simple_utf8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240199179,"owners_count":19763820,"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":[],"created_at":"2024-10-11T04:32:19.714Z","updated_at":"2025-02-22T16:05:49.336Z","avatar_url":"https://github.com/marcelog.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple UTF8 to/from binaries routines\n\n## About\nThis was done just for fun. Valid sequences include 1, 2, 3, 4, 5, and 6 bytes\nlong.\n\n## Binaries to UTF8 pointcodes\n\n    simple_utf8:bin_to_cp(Bin).\n\n## UTF8 pointcodes to binaries\n\n    simple_utf8:cp_to_bin(CodePoints).\n\n## Example\n    1\u003e Utf8Bin = simple_utf8:cp_to_bin(\"中國哲學書電子化計劃\").\n    \u003c\u003c228,184,173,229,156,139,229,147,178,229,173,184,230,155,\n      184,233,155,187,229,173,144,229,140,150,232,168,136,229,\n      138,...\u003e\u003e\n    2\u003e \"中國哲學書電子化計劃\" = simple_utf8:bin_to_cp(Utf8Bin).\n    [20013,22283,21746,23416,26360,38651,23376,21270,35336,\n     21123]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelog%2Fsimple_utf8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcelog%2Fsimple_utf8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelog%2Fsimple_utf8/lists"}