{"id":25417620,"url":"https://github.com/tech-gian/utf-8-validator","last_synced_at":"2025-05-05T21:33:39.747Z","repository":{"id":78433158,"uuid":"340209627","full_name":"tech-gian/UTF-8-Validator","owner":"tech-gian","description":"A university's project, to create a utf-8 validator","archived":false,"fork":false,"pushed_at":"2021-02-19T00:02:07.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-16T18:01:44.281Z","etag":null,"topics":["c","utf-8","validator"],"latest_commit_sha":null,"homepage":"https://gianniszapantis.azurewebsites.net/","language":"C","has_issues":false,"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/tech-gian.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":"2021-02-18T23:57:31.000Z","updated_at":"2021-09-29T09:44:29.000Z","dependencies_parsed_at":"2023-04-05T08:50:02.767Z","dependency_job_id":null,"html_url":"https://github.com/tech-gian/UTF-8-Validator","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/tech-gian%2FUTF-8-Validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tech-gian%2FUTF-8-Validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tech-gian%2FUTF-8-Validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tech-gian%2FUTF-8-Validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tech-gian","download_url":"https://codeload.github.com/tech-gian/UTF-8-Validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252579993,"owners_count":21771248,"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":["c","utf-8","validator"],"created_at":"2025-02-16T18:01:03.775Z","updated_at":"2025-05-05T21:33:39.742Z","avatar_url":"https://github.com/tech-gian.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UTF-8-Validator\nDeveloped as an assignment for the Introduction to Programming class at the National Kapodistrian University of Athens by Angelos Sfyrakis.\n\n\n# What is UTF-8- ?\n\n UTF-8 is a variable-width character encoding used for electronic communication. Defined by the Unicode Standard, the name is derived from Unicode (or Universal Coded Character Set) Transformation Format – 8-bit. UTF-8 is capable of encoding all 1,112,064 valid character code points in Unicode using one to four one-byte (8-bit) code units. Code points with lower numerical values, which tend to occur more frequently, are encoded using fewer bytes.\n\n![](sQuKr.png)\n# Prefix code \n\n The first byte indicates the number of bytes in the sequence. Reading from a stream can instantaneously decode each individual fully received sequence, without first having to wait for either the first byte of a next sequence or an end-of-stream indication. The length of multi-byte sequences is easily determined by humans as it is simply the number of high-order 1s in the leading byte. An incorrect character will not be decoded if a stream ends mid-sequence.\n\n\n\n# Compilation and Input\n\n-To compile:\n```bash\ngcc utf8validate.c -o name\n```\nInput must be a text file for the program to run.\n\n-To run:\n```bash\n./name \u003c text_file_name\n```\n# Notes\nIn this assignment students were given instructions not to use arrays(strings included).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-gian%2Futf-8-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftech-gian%2Futf-8-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-gian%2Futf-8-validator/lists"}