{"id":13750694,"url":"https://github.com/Asmod4n/mruby-string-is-utf8","last_synced_at":"2025-05-09T16:31:30.693Z","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":"2017-04-14T11:12:27.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-12T17:48:58.570Z","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":"bsd-2-clause","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}},"created_at":"2016-06-11T10:57:57.000Z","updated_at":"2017-04-14T11:12:28.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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224869036,"owners_count":17383306,"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":["mruby"],"created_at":"2024-08-03T08:00:44.429Z","updated_at":"2024-11-16T02:31:30.210Z","avatar_url":"https://github.com/Asmod4n.png","language":"C","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","funding_links":[],"categories":["Utilities"],"sub_categories":[],"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"}