{"id":19885667,"url":"https://github.com/asmod4n/mruby-string-is-utf8","last_synced_at":"2026-06-10T11:31:35.924Z","repository":{"id":76216567,"uuid":"60903097","full_name":"Asmod4n/mruby-string-is-utf8","owner":"Asmod4n","description":"Checks if a string is valid utf8","archived":false,"fork":false,"pushed_at":"2026-03-01T11:11:29.000Z","size":415,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-01T14:55:07.310Z","etag":null,"topics":["mruby"],"latest_commit_sha":null,"homepage":"","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/Asmod4n.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-06-11T10:57:57.000Z","updated_at":"2026-03-01T11:11:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7d793bb-80af-43ab-b906-a0ab020c49bf","html_url":"https://github.com/Asmod4n/mruby-string-is-utf8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Asmod4n/mruby-string-is-utf8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asmod4n%2Fmruby-string-is-utf8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asmod4n%2Fmruby-string-is-utf8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asmod4n%2Fmruby-string-is-utf8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asmod4n%2Fmruby-string-is-utf8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asmod4n","download_url":"https://codeload.github.com/Asmod4n/mruby-string-is-utf8/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asmod4n%2Fmruby-string-is-utf8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34151273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["mruby"],"created_at":"2024-11-12T17:35:15.923Z","updated_at":"2026-06-10T11:31:35.909Z","avatar_url":"https://github.com/Asmod4n.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mruby-string-is-utf8\n\nChecks if a string is valid utf8\n\nRuby Example\n============\n```ruby\n\"hallo\".is_utf8? # returns true or false\n\n\"hallo\".is_utf8_raw # returns 0 if true or the position where a offending char is found\n```\n\nC Example\n=========\n```c\n#include \u003cmruby/string_is_utf8.h\u003e\nmrb_value str = mrb_str_new_lit(mrb, \"hallo\");\n\nmrb_str_is_utf8(str); // returns TRUE or FALSE\n\nmrb_str_is_utf8_raw(str); // returns 0 if true or the position where a offending char is found\n```\n\nAcknowledgements\n================\nThis is using the single header version of simdutf from https://github.com/simdutf/simdutf","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmod4n%2Fmruby-string-is-utf8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasmod4n%2Fmruby-string-is-utf8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmod4n%2Fmruby-string-is-utf8/lists"}