{"id":19390678,"url":"https://github.com/benkasminbullock/unicode-c","last_synced_at":"2025-04-24T00:31:31.082Z","repository":{"id":143059211,"uuid":"72971239","full_name":"benkasminbullock/unicode-c","owner":"benkasminbullock","description":"A C library for handling Unicode, UTF-8, surrogate pairs, etc.","archived":false,"fork":false,"pushed_at":"2021-05-22T06:16:12.000Z","size":194,"stargazers_count":51,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T22:51:14.412Z","etag":null,"topics":["surrogate-pairs","unicode","utf-8"],"latest_commit_sha":null,"homepage":"https://www.lemoda.net/c/unicode-c/index.html","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benkasminbullock.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"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":"2016-11-06T05:03:55.000Z","updated_at":"2025-03-05T22:00:19.000Z","dependencies_parsed_at":"2023-07-13T14:00:39.002Z","dependency_job_id":null,"html_url":"https://github.com/benkasminbullock/unicode-c","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/benkasminbullock%2Funicode-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benkasminbullock%2Funicode-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benkasminbullock%2Funicode-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benkasminbullock%2Funicode-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benkasminbullock","download_url":"https://codeload.github.com/benkasminbullock/unicode-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250539420,"owners_count":21447305,"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":["surrogate-pairs","unicode","utf-8"],"created_at":"2024-11-10T10:22:43.476Z","updated_at":"2025-04-24T00:31:31.072Z","avatar_url":"https://github.com/benkasminbullock.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a Unicode library in the C programming language which deals\nwith conversions to and from the UTF-8 format.\n\n* Author: \n\n    Ben Bullock \u003cbenkasminbullock@gmail.com\u003e, \u003cbkb@cpan.org\u003e\n\n* Repository: \n\n    https://github.com/benkasminbullock/unicode-c\n\n* Licence: \n\nYou can use this C code under the BSD three-clause licence, the GNU\nGeneral Public Licence, either version 2 or later, or the Perl\nartistic licence.\n\n* Version:\n\nThere is no version for this, please use the git commit numbers.\n\n* Documentation:\n\nDocumentation consists of the comments in the source code, a manual\npage in doc/unicode.3, and an HTML version in doc/unicode.html.\n\nThe mdoc manual page unicode.3 and the html page doc/unicode.html are\nboth generated from the comments using Perl scripts in the \"doc\"\nsubdirectory of the repository. Running these scripts may require you\nto install some Perl modules from CPAN. The following command will\ndownload and install all the necessary modules:\n\n    curl -L https://cpanmin.us | perl - App::cpanminus\n    cpanm C::Tokenize Convert::Moji File::Slurper HTML::Make JSON::Create JSON::Parse List::UtilsBy Template Text::LineNumber\n\n* Conventions\n\nAll of the functions except \"unicode_code_to_error\" return values of\ntype int32_t (32-bit signed integers). All of the UTF-8 inputs are of\nthe type \"unsigned char\".\n\n* Testing:\n\nCompile with -DTEST or use \"make test\" to run the tests. The tests are\ncontained in \"unicode.c\" itself. Please refer to the source\ncode. Running the tests requires the \"prove\" utility which is part of\nPerl.\n\n* Dependencies\n\nThis C code uses the definitions from the standard header file\n\"stdint.h\" to get consistent integer types, and functions from\n\"string.h\" to get lengths of strings, and for testing.\n\n* Bugs:\n\nEither send email or use the github \"issues\" pages to report bugs.\n\n* Known problems:\n\n** The library uses UCS2 where it should have said UTF-16. There are a\n   few similar misnamings.\n\n** 0xFF is regarded as a valid UTF-8 first byte by some routines.\n\n* Online version\n\nThere is an online web version of this software here:\n\n    http://www.lemoda.net/tools/uniconvert/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenkasminbullock%2Funicode-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenkasminbullock%2Funicode-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenkasminbullock%2Funicode-c/lists"}