{"id":13509351,"url":"https://github.com/woxtu/elixir-mbcs","last_synced_at":"2026-02-20T16:01:26.639Z","repository":{"id":15569944,"uuid":"18305331","full_name":"woxtu/elixir-mbcs","owner":"woxtu","description":"Wrapper for erlang-mbcs","archived":false,"fork":false,"pushed_at":"2020-11-27T07:47:32.000Z","size":17,"stargazers_count":27,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T18:18:39.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"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/woxtu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-31T19:30:14.000Z","updated_at":"2023-04-19T06:41:01.000Z","dependencies_parsed_at":"2022-07-12T15:13:52.318Z","dependency_job_id":null,"html_url":"https://github.com/woxtu/elixir-mbcs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/woxtu/elixir-mbcs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woxtu%2Felixir-mbcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woxtu%2Felixir-mbcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woxtu%2Felixir-mbcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woxtu%2Felixir-mbcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woxtu","download_url":"https://codeload.github.com/woxtu/elixir-mbcs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woxtu%2Felixir-mbcs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-08-01T02:01:06.509Z","updated_at":"2026-02-20T16:01:26.606Z","avatar_url":"https://github.com/woxtu.png","language":"Elixir","funding_links":[],"categories":["Text and Numbers"],"sub_categories":[],"readme":"# elixir-mbcs\n\nWrapper for [erlang-mbcs](https://code.google.com/p/erlang-mbcs/).\nThis module provides functions for character encoding conversion.\n\n## Install\n\nAdding the following to the mix.exs in your project:\n\n```elixir\ndefp deps do\n  [\n    {:elixir_mbcs, github: \"woxtu/elixir-mbcs\", tag: \"0.1.3\"},\n  ]\nend\n```\n\n## Usage\n\n```elixir\n# Start mbcs server\niex\u003e Mbcs.start\n:ok\n\n# Convert UTF-8 to Shift_JIS\niex\u003e Mbcs.encode!(\"九条カレン\", :cp932)\n\u003c\u003c139, 227, 143, 240, 131, 74, 131, 140, 131, 147\u003e\u003e\n\n# Convert Shift_JIS to UTF-8, and return as a list\niex\u003e Mbcs.decode!([139, 227, 143, 240, 131, 74, 131, 140, 131, 147], :cp932, return: :list)\n[20061, 26465, 12459, 12524, 12531]\n```\n\n## Support encodings\n\n* cp037\n* cp437\n* cp500\n* cp737, cp775\n* cp850, cp852, cp855, cp857, cp860, cp861, cp862, cp863, cp864, cp865, cp866, cp869, cp874, cp875\n* cp932, cp936, gbk, cp949, cp950, big5\n* cp1026, cp1250, cp1251, cp1252, cp1253, cp1254, cp1255, cp1256, cp1257, cp1258\n* cp10000, cp10006, cp10007, cp10029, cp10079, cp10081\n* utf8, utf16, utf16le, utf16be, utf32, utf32le, utf32be\n\n## Options\n\n* return: list, binary\n* error: strict, ignore, replace\n* replace: `non_neg_integer`\n* bom: `true`, `false`\n\n## License\n\nCopyright (c) 2015 woxtu\n\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoxtu%2Felixir-mbcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoxtu%2Felixir-mbcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoxtu%2Felixir-mbcs/lists"}