{"id":22399763,"url":"https://github.com/yaqinking/scripts","last_synced_at":"2025-09-18T00:57:45.279Z","repository":{"id":90514682,"uuid":"74657103","full_name":"yaqinking/scripts","owner":"yaqinking","description":"一些使用到的脚本","archived":false,"fork":false,"pushed_at":"2017-05-24T04:13:45.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T03:02:41.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaqinking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-24T09:18:18.000Z","updated_at":"2016-11-24T09:31:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"945a0b90-c8cc-4ae5-ada2-d3dba6d2201e","html_url":"https://github.com/yaqinking/scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yaqinking/scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaqinking%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaqinking%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaqinking%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaqinking%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaqinking","download_url":"https://codeload.github.com/yaqinking/scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaqinking%2Fscripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265227898,"owners_count":23731059,"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":[],"created_at":"2024-12-05T08:09:56.489Z","updated_at":"2025-09-18T00:57:40.219Z","avatar_url":"https://github.com/yaqinking.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 一些脚本工具\n\n自己整理修改之后使用的一些脚本。\n\n## perl\n`gb2312-to-utf8.pl` 转换 GB2312 编码的文件到 UTF-8\n\n`sjis-to-utf8.pl` 转换 Shift-JIS 编码的文件到 UTF-8\n\n`utf16le-to-utf8.pl` 转换 UTF-16LE (UCS2) 编码的文件到 UTF-8\n\n上面的是根据 jin1016 的这个 [gist](https://gist.github.com/jin1016/7958752) 修改来的。\n\n## Python\n\n`utf8_to_utf16le.py` 转换 UTF-8 编码的文件到 UTF-16LE\n\n## bat\n\n**因为需要手动再命令提示符里敲不推荐使用，用 Python script 转换吧**\n~~[convert-utf8-utf16le.bat](https://gist.github.com/yaqinking/3f1c8eaacb3898fadd9e0b4c1e03f801) 转换 UTF-8 编码的文件到 UTF16-LE [来源](https://superuser.com/questions/69091/batch-change-encoding-ascii-files-from-utf-8-to-iso-8859-1)~~\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaqinking%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaqinking%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaqinking%2Fscripts/lists"}