{"id":24560220,"url":"https://github.com/juliastrings/legacystrings.jl","last_synced_at":"2025-04-19T14:44:11.792Z","repository":{"id":61798496,"uuid":"62183060","full_name":"JuliaStrings/LegacyStrings.jl","owner":"JuliaStrings","description":"Legacy Unicode string types","archived":false,"fork":false,"pushed_at":"2023-05-03T16:39:13.000Z","size":96,"stargazers_count":13,"open_issues_count":4,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T20:04:03.500Z","etag":null,"topics":["ascii","julia","strings","unicode","utf-16","utf-32"],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/JuliaStrings.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-29T00:32:03.000Z","updated_at":"2024-07-04T09:08:53.000Z","dependencies_parsed_at":"2022-10-21T11:15:29.889Z","dependency_job_id":null,"html_url":"https://github.com/JuliaStrings/LegacyStrings.jl","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaStrings%2FLegacyStrings.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaStrings%2FLegacyStrings.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaStrings%2FLegacyStrings.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaStrings%2FLegacyStrings.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaStrings","download_url":"https://codeload.github.com/JuliaStrings/LegacyStrings.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249716783,"owners_count":21315068,"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":["ascii","julia","strings","unicode","utf-16","utf-32"],"created_at":"2025-01-23T07:16:10.049Z","updated_at":"2025-04-19T14:44:11.768Z","avatar_url":"https://github.com/JuliaStrings.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LegacyStrings\n\n[![CI](https://github.com/JuliaStrings/LegacyStrings.jl/workflows/CI/badge.svg)](https://github.com/JuliaStrings/LegacyStrings.jl/actions?query=workflow%3ACI)\n\nThe LegacyStrings package provides compatibility string types from Julia 0.5 (and earlier), which were removed in subsequent versions, including:\n\n- `ASCIIString`: a single-byte-per character string type that can only hold ASCII string data.\n- `UTF8String`: a string type with single byte code units (`UInt8`), encoding strings as UTF-8.\n- `UTF16String`: a string type with two-byte native-endian code units (`UInt16`), encoding strings as UTF-16.\n- `UTF32String`: a string type with four-byte native-endian code units (`UInt32`), encoding strings as UTF-32.\n- `ByteString`: a type alias for `Union{ASCIIString,UTF8String}`, i.e. strings that can be passed to C directly.\n- `WString`: an alias for `UTF16String` if `Cwchart_t` is two bytes (i.e. Windows) or `UTF32String` otherwise.\n- `RepString`: a string type for efficient handling of repeated strings.\n\nLegacyStrings also defines and exports converter functions for these types, i.e.:\n\n- `ascii`: convert to `ASCIIString`; since `Base` exports an `ascii` function as well, you must explicitly do `import LegacyStrings: ascii` or write `LegacyStrings.ascii` in order to use this function rather than `Base.ascii`.\n- `utf8`: convert to `UTF8String`.\n- `utf16`: convert to `UTF16String`.\n- `utf32`: convert to `UTF32String`.\n- `wstring`: alias for `utf16` or `utf32` according to what `WString` is an alias to.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliastrings%2Flegacystrings.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliastrings%2Flegacystrings.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliastrings%2Flegacystrings.jl/lists"}